|
Terraria v1.4.4.9
Terraria source code documentation
|
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() |
Definition at line 3 of file EventDescriptor.cs.