ModuleScope
Summary description for ModuleScope.
The default assembly (simple) name used for the assemblies generated by a ModuleScope instance.
The default file name used when the assembly is saved using DEFAULT_FILE_NAME.
Users of this ModuleScope should use this lock when accessing the cache.
Gets the strong-named module generated by this scope, or null if none has yet been generated.
Gets the directory where the strongly named module generated by this scope will be saved, or null if the current directory
is used.
Gets the file name of the strongly named module generated by this scope.
Gets the weak-named module generated by this scope, or null if none has yet been generated.
Gets the directory where the weakly named module generated by this scope will be saved, or null if the current directory
is used.
Gets the file name of the weakly named module generated by this scope.
public ModuleScope()
Initializes a new instance of the ModuleScope class; assemblies created by this instance will not be saved.
Initializes a new instance of the ModuleScope class, allowing to specify whether the assemblies generated by this instance
should be saved.
Initializes a new instance of the ModuleScope class, allowing to specify whether the assemblies generated by this instance
should be saved.
public ModuleScope(bool savePhysicalAssembly, bool disableSignedModule, string strongAssemblyName, string strongModulePath, string weakAssemblyName, string weakModulePath)
Initializes a new instance of the ModuleScope class, allowing to specify whether the assemblies generated by this instance
should be saved and what simple names are to be assigned to them.
public ModuleScope(bool savePhysicalAssembly, bool disableSignedModule, INamingScope namingScope, string strongAssemblyName, string strongModulePath, string weakAssemblyName, string weakModulePath)
Initializes a new instance of the ModuleScope class, allowing to specify whether the assemblies generated by this instance
should be saved and what simple names are to be assigned to them.
Gets the key pair used to sign the strong-named assembly generated by this ModuleScope.
Returns a type from this scope's type cache, or null if the key cannot be found.
Loads the generated types from the given assembly into this ModuleScope's cache.
Gets the specified module generated by this scope, creating a new one if none has yet been generated.
Gets the strong-named module generated by this scope, creating a new one if none has yet been generated.
Gets the weak-named module generated by this scope, creating a new one if none has yet been generated.
Registers a type in this scope's type cache.
Saves the generated assembly with the name and directory information given when this ModuleScope instance was created (or with
the DEFAULT_FILE_NAME and current directory if none was given).
Saves the specified generated assembly with the name and directory information given when this ModuleScope instance was created
(or with the DEFAULT_FILE_NAME and current directory if none was given).