C# Class Microsoft.ClearScript.Windows.ActiveScriptWrapper

Exibir arquivo Open project: hasaki/clearscript Class Usage Examples

Public Methods

Method Description
AddNamedItem ( string name, ScriptItemFlags flags ) : void
Close ( ) : void
CollectGarbage ( ScriptGCType type ) : void
Create ( string progID ) : ActiveScriptWrapper
EnumCodeContextsOfPosition ( UIntPtr sourceContext, uint offset, uint length, IEnumDebugCodeContexts &enumContexts ) : void
EnumStackFrames ( IEnumDebugStackFrames &enumFrames ) : void
GetScriptDispatch ( string itemName, object &dispatch ) : void
GetScriptState ( ScriptState &state ) : void
InitNew ( ) : void
InterruptScriptThread ( uint scriptThreadID, System.Runtime.InteropServices.ComTypes.EXCEPINFO &excepInfo, ScriptInterruptFlags flags ) : void
ParseScriptText ( string code, string itemName, object context, string delimiter, UIntPtr sourceContext, uint startingLineNumber, ScriptTextFlags flags, IntPtr pVarResult, System.Runtime.InteropServices.ComTypes.EXCEPINFO &excepInfo ) : void
SetScriptSite ( IActiveScriptSite site ) : void
SetScriptState ( ScriptState state ) : void

Method Details

AddNamedItem() public abstract method

public abstract AddNamedItem ( string name, ScriptItemFlags flags ) : void
name string
flags ScriptItemFlags
return void

Close() public abstract method

public abstract Close ( ) : void
return void

CollectGarbage() public abstract method

public abstract CollectGarbage ( ScriptGCType type ) : void
type ScriptGCType
return void

Create() public static method

public static Create ( string progID ) : ActiveScriptWrapper
progID string
return ActiveScriptWrapper

EnumCodeContextsOfPosition() public abstract method

public abstract EnumCodeContextsOfPosition ( UIntPtr sourceContext, uint offset, uint length, IEnumDebugCodeContexts &enumContexts ) : void
sourceContext System.UIntPtr
offset uint
length uint
enumContexts IEnumDebugCodeContexts
return void

EnumStackFrames() public abstract method

public abstract EnumStackFrames ( IEnumDebugStackFrames &enumFrames ) : void
enumFrames IEnumDebugStackFrames
return void

GetScriptDispatch() public abstract method

public abstract GetScriptDispatch ( string itemName, object &dispatch ) : void
itemName string
dispatch object
return void

GetScriptState() public abstract method

public abstract GetScriptState ( ScriptState &state ) : void
state ScriptState
return void

InitNew() public abstract method

public abstract InitNew ( ) : void
return void

InterruptScriptThread() public abstract method

public abstract InterruptScriptThread ( uint scriptThreadID, System.Runtime.InteropServices.ComTypes.EXCEPINFO &excepInfo, ScriptInterruptFlags flags ) : void
scriptThreadID uint
excepInfo System.Runtime.InteropServices.ComTypes.EXCEPINFO
flags ScriptInterruptFlags
return void

ParseScriptText() public abstract method

public abstract ParseScriptText ( string code, string itemName, object context, string delimiter, UIntPtr sourceContext, uint startingLineNumber, ScriptTextFlags flags, IntPtr pVarResult, System.Runtime.InteropServices.ComTypes.EXCEPINFO &excepInfo ) : void
code string
itemName string
context object
delimiter string
sourceContext System.UIntPtr
startingLineNumber uint
flags ScriptTextFlags
pVarResult System.IntPtr
excepInfo System.Runtime.InteropServices.ComTypes.EXCEPINFO
return void

SetScriptSite() public abstract method

public abstract SetScriptSite ( IActiveScriptSite site ) : void
site IActiveScriptSite
return void

SetScriptState() public abstract method

public abstract SetScriptState ( ScriptState state ) : void
state ScriptState
return void