Devesprit.Scripter

ScriptEngine Members

The ScriptEngine type exposes the following members.

Constructors


  Name Description
Public method ScriptEngine
Initializes a new instance of the ScriptEngine class.

Methods


  Name Description
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GenerateFullSourceCode
Using this method, you can convert your intended script to a complete source code compilable by SourceCodeCompiler class.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method RunScript
Executes a script and returns the result.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties


  Name Description
Public property DefaultClassName
Gets or sets the default name of the class of the compiled assembly.
Public property DefaultNamespace
Gets or sets the default namespace of the compiled assembly.
Public property EntryPointMethodName
Gets or sets the name of the entry point method of the compiled assembly.
Public property NamespacesList
List of Namespaces required for the execution of the intended script .
Public property 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.
Public property OutputAssemblyType
Specifies the type of the output assembly (Library or Application), see OutputAssemblyType.
Public property ReferenceAssemblies
List of assemblies required for compiling and executing the intended script, see ReferenceAssemblies.
Public property ScriptExecutionContext
Specifies the context in which script must be executed, see InvokeContext.