C# Class XSpect.Yacq.Serialization.MethodRef

Inheritance: MemberRef
Show file Open project: takeshik/yacq

Private Properties

Property Type Description

Public Methods

Method Description
Describe ( ) : MethodDescriptor

Returns an object to describe this member reference.

Deserialize ( ) : MethodBase

Dereferences this method reference.

DeserializeAsConstructor ( ) : ConstructorInfo

Dereferences this method reference.

DeserializeAsMethod ( ) : MethodInfo

Dereferences this method reference.

MethodRef ( ) : System

Initializes a new instance of the MethodRef class.

MethodRef ( TypeRef type, String name, String signature, TypeRef typeArgs ) : System

Initializes a new instance of the MethodRef class.

Serialize ( MethodBase method ) : MethodRef

Returns the method reference which refers specified method.

ToString ( ) : String

Returns a String that represents this instance.

Protected Methods

Method Description
GetDescriptor ( ) : MemberDescriptor

Returns an object to describe this method reference.

Method Details

Describe() public method

Returns an object to describe this member reference.
public Describe ( ) : MethodDescriptor
return MethodDescriptor

Deserialize() public method

Dereferences this method reference.
public Deserialize ( ) : MethodBase
return System.Reflection.MethodBase

DeserializeAsConstructor() public method

Dereferences this method reference.
public DeserializeAsConstructor ( ) : ConstructorInfo
return System.Reflection.ConstructorInfo

DeserializeAsMethod() public method

Dereferences this method reference.
public DeserializeAsMethod ( ) : MethodInfo
return System.Reflection.MethodInfo

GetDescriptor() protected method

Returns an object to describe this method reference.
protected GetDescriptor ( ) : MemberDescriptor
return MemberDescriptor

MethodRef() public method

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

MethodRef() public method

Initializes a new instance of the MethodRef class.
public MethodRef ( TypeRef type, String name, String signature, TypeRef typeArgs ) : System
type TypeRef The declaring type of this method reference, or null if the type is .
name String The name of referring method.
signature String The signature () of referring method.
typeArgs TypeRef The generic type arguments of this type reference.
return System

Serialize() public static method

Returns the method reference which refers specified method.
public static Serialize ( MethodBase method ) : MethodRef
method System.Reflection.MethodBase The method to refer.
return MethodRef

ToString() public method

Returns a String that represents this instance.
public ToString ( ) : String
return String