ScriptEngine Members
The ScriptEngine type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Equals(System.Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GenerateFullSourceCode |
Using this method, you can convert your intended script to a complete source code compilable by SourceCodeCompiler class.
|
![]() |
GetHashCode |
Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
RunScript |
Executes a script and returns the result.
|
![]() |
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() |
DefaultClassName |
Gets or sets the default name of the class of the compiled assembly.
|
![]() |
DefaultNamespace |
Gets or sets the default namespace of the compiled assembly.
|
![]() |
EntryPointMethodName |
Gets or sets the name of the entry point method of the compiled assembly.
|
![]() |
NamespacesList |
List of Namespaces required for the execution of the intended script .
|
![]() |
OutputAssemblyPath |
Specifies a save location for the assembly generated from script compilation, if the address is unspecified
, the assembly will be saved in Temp folder with a random filename.
|
![]() |
OutputAssemblyType |
Specifies the type of the output assembly (Library or Application), see OutputAssemblyType.
|
![]() |
ReferenceAssemblies |
List of assemblies required for compiling and executing the intended script, see ReferenceAssemblies.
|
![]() |
ScriptExecutionContext |
Specifies the context in which script must be executed, see InvokeContext.
|