C# Class XSpect.Yacq.SystemObjects.YacqAssembly

Defines and represents a dynamic assembly with YACQ codes.
Afficher le fichier Open project: takeshik/yacq Class Usage Examples

Private Properties

Свойство Type Description
DefineType YacqType
DefineType YacqType
SHA1Cng System
SHA1CryptoServiceProvider System

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
DefineType ( Type>.IDictionary members, System.Boolean throwIfExists ) : YacqType
DefineType ( String name, IEnumerable baseTypes, System.Boolean throwIfExists ) : YacqType
SHA1Cng ( ) : System
SHA1CryptoServiceProvider ( ) : System

Method Details

DefineType() public méthode

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.
Résultat YacqType

DefineType() public méthode

Constructs a YacqType in this YacqAssembly.
public DefineType ( String name ) : YacqType
name String The full path of the type. name cannot contain embedded nulls.
Résultat YacqType

GetType() public méthode

Gets the Type object with the specified name in this assembly.
public GetType ( String name ) : YacqType
name String The full name of the type.
Résultat YacqType

GetTypes() public méthode

Gets the types defined in this assembly.
public GetTypes ( ) : IEnumerable
Résultat IEnumerable

Save() public méthode

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.
Résultat void

TryDefineType() public méthode

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.
Résultat YacqType

TryDefineType() public méthode

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.
Résultat YacqType

YacqAssembly() public méthode

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.
Résultat System