Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.ComponentModel.ReflectEventDescriptor Class Referencesealed

Public Member Functions

 ReflectEventDescriptor ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type componentClass, string name, Type type, Attribute[] attributes)
 
 ReflectEventDescriptor ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type componentClass, EventInfo eventInfo)
 
 ReflectEventDescriptor ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type componentType, EventDescriptor oldReflectEventDescriptor, Attribute[] attributes)
 
override void AddEventHandler (object component, Delegate value)
 
override void RemoveEventHandler (object component, Delegate value)
 
override bool Equals ([NotNullWhen(true)] object? obj)
 
override int GetHashCode ()
 

Protected Member Functions

override void FillAttributes (IList attributes)
 
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

override Type ComponentType [get]
 
override Type EventType [get]
 
override 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 FillEventInfoAttribute (EventInfo realEventInfo, IList attributes)
 
void FillMethods ()
 
void FillSingleMethodAttribute (MethodInfo realMethodInfo, IList attributes)
 
void CheckAttributesValid ()
 
void FilterAttributesIfNeeded ()
 

Private Attributes

Type _type
 
readonly Type _componentClass
 
MethodInfo _addMethod
 
MethodInfo _removeMethod
 
EventInfo _realEvent
 
bool _filledMethods
 
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 8 of file ReflectEventDescriptor.cs.


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