EventDefinition Methods |
The EventDefinition type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Resolve | (Overrides EventReferenceResolve.) | |
ToString | (Inherited from MemberReference.) |
Name | Description | |
---|---|---|
GetCategory |
Get the category name (field, method, etc).
(Defined by MemberReferenceUtil.) | |
GetCustomAttribute |
Get the custom attribute with the specified name from the ICustomAttributeProvider. If there are multiple attributes with the name, the first one is returned.
(Defined by ICustomAttributeProviderUtil.) | |
GetCustomAttributes |
Get all custom attributes with the specified name from the ICustomAttributeProvider.
(Defined by ICustomAttributeProviderUtil.) | |
GetFullName |
Get the full name of the type or member, including the namespace name.
(Defined by MemberReferenceUtil.) | |
HasCustomAttribute |
Determine if the ICustomAttributeProvider has a custom attribute.
(Defined by ICustomAttributeProviderUtil.) | |
HasDynamicType |
Determine if the member has a dynamic type.
(Defined by ICustomAttributeProviderUtil.) | |
IsAbstract |
Return true if the event is abstract, otherwise false.
(Defined by EventDefintionUtil.) | |
IsPrivate |
Return true if the event is private, otherwise false.
(Defined by EventDefintionUtil.) | |
IsProtected |
Return true if the event is protected, otherwise false.
(Defined by EventDefintionUtil.) | |
IsPublic |
Return true if the event is public, otherwise false.
(Defined by EventDefintionUtil.) | |
IsStatic |
Return true if the event is static, otherwise false.
(Defined by EventDefintionUtil.) | |
IsVirtual |
Return true if the event is virtual, otherwise false.
(Defined by EventDefintionUtil.) |