C# Класс XSpect.Yacq.SystemObjects.YacqAssembly

Defines and represents a dynamic assembly with YACQ codes.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DefineType YacqType
DefineType YacqType
SHA1Cng System
SHA1CryptoServiceProvider System

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

Метод Описание
DefineType ( Type>.IDictionary members ) : YacqType

Constructs an anonymous YacqType in this YacqAssembly.

DefineType ( String name ) : YacqType

Constructs a YacqType in this YacqAssembly.

GetType ( String name ) : YacqType

Gets the Type object with the specified name in this assembly.

GetTypes ( ) : IEnumerable

Gets the types defined in this assembly.

Save ( MethodInfo entryMethod = null ) : void

Saves this YacqAssembly to disk.

TryDefineType ( Type>.IDictionary members ) : YacqType

Constructs or gets an anonymous YacqType in this YacqAssembly.

TryDefineType ( String name ) : YacqType

Constructs or gets a YacqType in this YacqAssembly.

YacqAssembly ( String name, PEFileKinds fileKind = PEFileKinds.Dll ) : System

Initializes a new instance of the YacqAssembly class.

Приватные методы

Метод Описание
DefineType ( Type>.IDictionary members, System.Boolean throwIfExists ) : YacqType
DefineType ( String name, IEnumerable baseTypes, System.Boolean throwIfExists ) : YacqType
SHA1Cng ( ) : System
SHA1CryptoServiceProvider ( ) : System

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

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

Constructs an anonymous YacqType in this YacqAssembly.
public DefineType ( Type>.IDictionary members ) : YacqType
members Type>.IDictionary The dictionary which contains pairs of the name and its type of member property.
Результат YacqType

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

Constructs a YacqType in this YacqAssembly.
public DefineType ( String name ) : YacqType
name String The full path of the type. name cannot contain embedded nulls.
Результат YacqType

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

Gets the Type object with the specified name in this assembly.
public GetType ( String name ) : YacqType
name String The full name of the type.
Результат YacqType

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

Gets the types defined in this assembly.
public GetTypes ( ) : IEnumerable
Результат IEnumerable

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

Saves this YacqAssembly to disk.
public Save ( MethodInfo entryMethod = null ) : void
entryMethod System.Reflection.MethodInfo A reference to the method that represents the entry point for this , or null if the entry point is automatically searched.
Результат void

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

Constructs or gets an anonymous YacqType in this YacqAssembly.
public TryDefineType ( Type>.IDictionary members ) : YacqType
members Type>.IDictionary The dictionary which contains pairs of the name and its type of member property.
Результат YacqType

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

Constructs or gets a YacqType in this YacqAssembly.
public TryDefineType ( String name ) : YacqType
name String The full path of the type. name cannot contain embedded nulls.
Результат YacqType

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

Initializes a new instance of the YacqAssembly class.
public YacqAssembly ( String name, PEFileKinds fileKind = PEFileKinds.Dll ) : System
name String Name of dynamic assembly which contains generated types.
fileKind PEFileKinds The type of the assembly executable being built.
Результат System