public sealed class EventBuilder
|
AddOtherMethod | Adds one of the "other" methods associated with this event. "Other" methods are methods other than the "on" and "raise" methods associated with an event. This function can be called many times to add as many "other" methods. |
Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
GetEventToken | Returns the token for this event. |
GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
SetAddOnMethod | Sets the method used to subscribe to this event. |
SetCustomAttribute | Overloaded:SetCustomAttribute(CustomAttributeBuilder customBuilder) Sets a custom attribute using a custom attribute builder. |
SetCustomAttribute | Overloaded:SetCustomAttribute(ConstructorInfo con, byte[] binaryAttribute) Set a custom attribute using a specified custom attribute blob. |
SetRaiseMethod | Sets the method used to raise this event. |
SetRemoveOnMethod | Sets the method used to unsubscribe to this event. |
ToString (inherited from System.Object) |
See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public void AddOtherMethod( |
mdBuilder
Exception Type | Condition |
---|---|
ArgumentNullException | mdBuilder is null. |
InvalidOperationException | TypeBuilder.CreateType has been called on the enclosing type. |
~EventBuilder(); |
public EventToken GetEventToken(); |
public virtual int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public void SetAddOnMethod( |
mdBuilder
Exception Type | Condition |
---|---|
ArgumentNullException | mdBuilder is null. |
InvalidOperationException | TypeBuilder.CreateType has been called on the enclosing type. |
public void SetCustomAttribute( |
customBuilder
Exception Type | Condition |
---|---|
ArgumentNullException | con is null. |
InvalidOperationException | TypeBuilder.CreateType has been called on the enclosing type. |
public void SetCustomAttribute( |
con
binaryAttribute
Exception Type | Condition |
---|---|
ArgumentNullException | con or binaryAttribute is null. |
InvalidOperationException | TypeBuilder.CreateType has been called on the enclosing type. |
public void SetRaiseMethod( |
mdBuilder
Exception Type | Condition |
---|---|
ArgumentNullException | mdBuilder is null. |
InvalidOperationException | TypeBuilder.CreateType has been called on the enclosing type. |
public void SetRemoveOnMethod( |
mdBuilder
Exception Type | Condition |
---|---|
ArgumentNullException | mdBuilder is null. |
InvalidOperationException | TypeBuilder.CreateType has been called on the enclosing type. |
public virtual string ToString(); |