Метод | Описание | |
---|---|---|
CreateAssembly ( ICodeCompiler compiler, string assemblySource, |
Compiles an assembly from the provided source with the parameters specified.
|
|
CreateMethod ( ICodeCompiler compiler, string methodSource, string methodName, |
Compiles a method from the provided source with the parameters specified.
|
|
CreateType ( ICodeCompiler compiler, string typeSource, string typeName, |
Compiles a type (or class) from the provided source with the parameters specified.
|
|
CreateVirtualAssembly ( ICodeCompiler compiler, string assemblySource, Language language, bool debug ) : |
Compiles an assembly from the provided source and stores it in memory using the parameters specified.
|
|
CreateVirtualMethod ( ICodeCompiler compiler, string methodSource, string methodName, Language language, bool debug ) : |
Compiles a method from the provided source and stores it in memory with the parameters specified.
|
|
CreateVirtualType ( ICodeCompiler compiler, string typeSource, string typeName, Language language, bool debug ) : |
Compiles a type (or class) from the provided source and stores it in memory using the parameters specified.
|
Метод | Описание | |
---|---|---|
GetVirtualParameters ( bool debug, string assemblyName ) : |
Creates a CompilerParameters object containing the default settings for an assembly generated in memory.
|
Метод | Описание | |
---|---|---|
Eval ( ) : System |
public static CreateAssembly ( ICodeCompiler compiler, string assemblySource, |
||
compiler | ICodeCompiler | /// The compiler to use for compiling the source to MSIL. /// |
assemblySource | string | /// The actual source of the assembly. /// |
options | /// The parameters to be set for the compiler. /// | |
language | Language | /// A specification of the syntax of the language of the code /// |
Результат |
public static CreateMethod ( ICodeCompiler compiler, string methodSource, string methodName, |
||
compiler | ICodeCompiler | /// The compiler to use for compiling the source to MSIL. /// |
methodSource | string | /// The actual source of the method. /// |
methodName | string | /// The name of the method. /// |
options | /// The parameters to be set for the compiler. /// | |
language | Language | /// A specification of the syntax of the language of the code /// |
Результат |
public static CreateType ( ICodeCompiler compiler, string typeSource, string typeName, |
||
compiler | ICodeCompiler | /// The compiler to use for compiling the source to MSIL. /// |
typeSource | string | /// The actual source of the type. /// |
typeName | string | /// The name of the type. /// |
options | /// The parameters to be set for the compiler. /// | |
language | Language | /// A specification of the syntax of the language of the code /// |
Результат |
public static CreateVirtualAssembly ( ICodeCompiler compiler, string assemblySource, Language language, bool debug ) : |
||
compiler | ICodeCompiler | /// The compiler to use for compiling the source to MSIL. /// |
assemblySource | string | /// The actual source of the assembly. /// |
language | Language | /// A specification of the syntax of the language of the code /// |
debug | bool | /// Determines whether debug information is included in the compiled assembly. /// |
Результат |
public static CreateVirtualMethod ( ICodeCompiler compiler, string methodSource, string methodName, Language language, bool debug ) : |
||
compiler | ICodeCompiler | /// The compiler to use for compiling the source to MSIL. /// |
methodSource | string | /// The actual source of the method. /// |
methodName | string | /// The name of the method. /// |
language | Language | /// A specification of the syntax of the language of the code /// |
debug | bool | /// Determines whether debug information is included in the compiled assembly. /// |
Результат |
public static CreateVirtualType ( ICodeCompiler compiler, string typeSource, string typeName, Language language, bool debug ) : |
||
compiler | ICodeCompiler | /// The compiler to use for compiling the source to MSIL. /// |
typeSource | string | /// The actual source of the type. /// |
typeName | string | /// The name of the type. /// |
language | Language | /// A specification of the syntax of the language of the code /// |
debug | bool | /// Determines whether debug information is included in the compiled assembly. /// |
Результат |
protected static GetVirtualParameters ( bool debug, string assemblyName ) : |
||
debug | bool | /// Determines whether debug information is included in the compiler's final output. /// |
assemblyName | string | /// The name of the resulting assembly. /// |
Результат |