Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.ComponentModel.EventDescriptor Class Referenceabstract

Public Member Functions

void AddEventHandler (object component, Delegate value)
 
void RemoveEventHandler (object component, Delegate value)
 
override bool Equals ([NotNullWhen(true)] object? obj)
 
override int GetHashCode ()
 

Protected Member Functions

 EventDescriptor (string name, Attribute[]? attrs)
 
 EventDescriptor (MemberDescriptor descr)
 
 EventDescriptor (MemberDescriptor descr, Attribute[]? attrs)
 
virtual AttributeCollection CreateAttributeCollection ()
 
virtual void FillAttributes (IList attributeList)
 
virtual ? object GetInvocationTarget (Type type, object instance)
 

Static Protected Member Functions

static ? MethodInfo FindMethod ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] Type componentClass, string name, Type[] args, Type returnType)
 
static ? MethodInfo FindMethod ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods|DynamicallyAccessedMemberTypes.NonPublicMethods)] Type componentClass, string name, Type[] args, Type returnType, bool publicOnly)
 
static ? ISite GetSite (object? component)
 
static object GetInvokee (Type componentClass, object component)
 

Properties

Type ComponentType [get]
 
Type EventType [get]
 
bool IsMulticast [get]
 
virtual ? Attribute[] AttributeArray [get, set]
 
virtual AttributeCollection Attributes [get]
 
virtual string Category [get]
 
virtual string Description [get]
 
virtual bool IsBrowsable [get]
 
virtual string Name [get]
 
virtual int NameHashCode [get]
 
virtual bool DesignTimeOnly [get]
 
virtual string DisplayName [get]
 

Private Member Functions

void CheckAttributesValid ()
 
void FilterAttributesIfNeeded ()
 

Private Attributes

readonly string _name
 
readonly string _displayName
 
readonly int _nameHash
 
AttributeCollection _attributeCollection
 
Attribute[] _attributes
 
Attribute[] _originalAttributes
 
bool _attributesFiltered
 
bool _attributesFilled
 
int _metadataVersion
 
string _category
 
string _description
 
readonly object _lockCookie = new object()
 

Detailed Description

Definition at line 3 of file EventDescriptor.cs.


The documentation for this class was generated from the following file: