C# Класс XSpect.Yacq.Serialization.TypeRef

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

Describe() публичный Метод

Returns an object to describe this type reference.
public Describe ( ) : TypeDescriptor
Результат TypeDescriptor

Deserialize() публичный Метод

Dereferences this type reference.
public Deserialize ( ) : Type
Результат System.Type

GetName() публичный Метод

Returns the string value of this assembly reference.
public GetName ( ) : String
Результат String

Serialize() публичный статический Метод

Returns the type reference which refers specified type.
public static Serialize ( Type type ) : TypeRef
type System.Type The type to refer.
Результат TypeRef

ToString() публичный Метод

Returns a String that represents this instance.
public ToString ( ) : String
Результат String

TypeRef() публичный Метод

Initializes a new instance of the TypeRef class.
public TypeRef ( ) : System
Результат System

TypeRef() публичный Метод

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 .
Результат System