C# Class XSpect.Yacq.Serialization.TypeRef

Exibir arquivo Open project: takeshik/yacq Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Describe ( ) : TypeDescriptor

Returns an object to describe this type reference.

Deserialize ( ) : Type

Dereferences this type reference.

GetName ( ) : String

Returns the string value of this assembly reference.

Serialize ( Type type ) : TypeRef

Returns the type reference which refers specified type.

ToString ( ) : String

Returns a String that represents this instance.

TypeRef ( ) : System

Initializes a new instance of the TypeRef class.

TypeRef ( AssemblyRef assembly, String name ) : System

Initializes a new instance of the TypeRef class.

Method Details

Describe() public method

Returns an object to describe this type reference.
public Describe ( ) : TypeDescriptor
return TypeDescriptor

Deserialize() public method

Dereferences this type reference.
public Deserialize ( ) : Type
return System.Type

GetName() public method

Returns the string value of this assembly reference.
public GetName ( ) : String
return String

Serialize() public static method

Returns the type reference which refers specified type.
public static Serialize ( Type type ) : TypeRef
type System.Type The type to refer.
return TypeRef

ToString() public method

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

TypeRef() public method

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

TypeRef() public method

Initializes a new instance of the TypeRef class.
public TypeRef ( AssemblyRef assembly, String name ) : System
assembly AssemblyRef The belonging assembly of this type reference, or null if it is mscorlib.
name String The value of , or null if referring type is .
return System