C# Class XSpect.Yacq.Serialization.EventRef

Inheritance: MemberRef
Show file Open project: takeshik/yacq Class Usage Examples

Public Methods

Method Description
Deserialize ( ) : EventInfo

Dereferences this event reference.

EventRef ( ) : System

Initializes a new instance of the EventRef class.

EventRef ( TypeRef type, String name ) : System

Initializes a new instance of the EventRef class.

Serialize ( EventInfo @event ) : EventRef

Returns the event reference which refers specified event.

Method Details

Deserialize() public method

Dereferences this event reference.
public Deserialize ( ) : EventInfo
return System.Reflection.EventInfo

EventRef() public method

Initializes a new instance of the EventRef class.
public EventRef ( ) : System
return System

EventRef() public method

Initializes a new instance of the EventRef class.
public EventRef ( TypeRef type, String name ) : System
type TypeRef The declaring type of this event reference, or null if the type is .
name String The name of referring event.
return System

Serialize() public static method

Returns the event reference which refers specified event.
public static Serialize ( EventInfo @event ) : EventRef
@event System.Reflection.EventInfo
return EventRef