Class ClearScriptScriptHost
- Namespace
 - Alternet.Scripter.TypeScript
 
- Assembly
 - Alternet.Scripter.TypeScript.v10.dll
 
Provides properties and methods to support script engine functionality based on System.CodeDom.Compiler technology.
public class ClearScriptScriptHost : ScriptHost, IScriptHost, IDisposable
  - Inheritance
 - 
      
      
      ClearScriptScriptHost
 
- Implements
 
Constructors
- ClearScriptScriptHost(IScriptRun)
 Initializes a new instance of the
CodeDomScriptHostclass with specified script runner.
Properties
- Compiled
 Gets boolean value indicating that script has been compiled and ready to be executed.
- NeedToRecreateEngine
 Gets or sets a boolean value indicates whether Engine need to be recreated.
- RunnableScript
 Returns compiled script assembly.
- ScriptCompiled
 Indicates whether script has been successfully compiled.
Methods
- Compile()
 Initializes script engine and compiles the script.
- Interrupt()
 Interrupts script execution and causes the script engine to throw an exception.
- Reset()
 Removes the script engine from the running state and disconnects automatically bound event handlers.