C# Класс Microsoft.JScript.Vsa.VsaEngine

Наследование: BaseVsaEngine, IEngine2, IRedirectOutput
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddChildAndValue void
AddPackage void
AddReferences void
CheckForErrors void
CheckIdentifierForCLSCompliance bool
CheckTypeNameForCLSCompliance void
Clone IVsaEngine
CompileEmpty bool
ConnectEvents void
CreateAttribute void
CreateEngineForDebugger VsaEngine
CreateEntryPointIL void
CreateEntryPointIL void
CreateHostCallbackIL void
CreateMain void
CreateShutdownIL void
CreateStartupClass void
DisconnectEvents void
EmitReferences void
EnsureReflectionOnlyModulesLoaded void
FindAssembly String
GenerateRandomPEFileName string
GetAssembly System.Reflection.Assembly
GetClass Microsoft.JScript.ClassScope
GetItem IVsaItem
GetItemAtIndex IVsaItem
GetItemCount int
GetScannerInstance Microsoft.JScript.JSScanner
GetStaticCodeBlockCount int
GetType System.Type
GetVersionString string
InitVsaEngine void
Interrupt void
IsValidIdentifier bool
LoadCustomOptions void
LoadManagedResources void
LoadProjectVersion System.Version
LoadUserDefines void
LoadVsaEngineState void
LoadVsaItems void
OnCompilerError bool
RegisterEventSource void
Reset void
Restart void
Run void
RunEmpty void
SaveCustomOptions void
SaveManagedResources void
SaveProjectVersion void
SaveSourceForDebugging void
SaveUserDefines void
SaveVsaEngineState void
SaveVsaItems void
SetEnclosingContext void
SetUpCompilerEnvironment void
TryToAddImplicitAssemblyReference void
VsaEngine Microsoft.JScript

Открытые методы

Метод Описание
CreateEngine ( ) : VsaEngine
CreateEngineAndGetGlobalScope ( bool fast, String assemblyNames ) : GlobalScope
CreateEngineAndGetGlobalScopeWithType ( bool fast, String assemblyNames, RuntimeTypeHandle callingTypeHandle ) : GlobalScope
CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace ( bool fast, String assemblyNames, RuntimeTypeHandle callingTypeHandle, string rootNamespace ) : GlobalScope
CreateEngineWithType ( RuntimeTypeHandle callingTypeHandle ) : VsaEngine
GetGlobalScope ( ) : IVsaScriptScope
GetMainScope ( ) : GlobalScope
GetModule ( ) : Module
GetOriginalArrayConstructor ( ) : ArrayConstructor
GetOriginalObjectConstructor ( ) : ObjectConstructor
GetOriginalRegExpConstructor ( ) : RegExpConstructor
PopScriptObject ( ) : ScriptObject
PushScriptObject ( ScriptObject obj ) : void
ScriptObjectStackTop ( ) : ScriptObject
SetOutputStream ( IMessageReceiver output ) : void
VsaEngine ( ) : Microsoft.JScript
VsaEngine ( bool fast ) : Microsoft.JScript

Защищенные методы

Метод Описание
DoClose ( ) : void
DoCompile ( ) : bool
DoLoadSourceState ( IVsaPersistSite site ) : void
DoSaveCompiledState ( byte &pe, byte &pdb ) : void
DoSaveSourceState ( IVsaPersistSite site ) : void
GetCustomOption ( String name ) : Object
IsValidNamespaceName ( string name ) : bool
LoadCompiledState ( ) : Assembly
ResetCompiledState ( ) : void
SetCustomOption ( String name, Object value ) : void
ValidateRootMoniker ( string rootMoniker ) : void

Приватные методы

Метод Описание
AddChildAndValue ( XmlDocument doc, XmlElement parent, string name, string value ) : void
AddPackage ( PackageScope pscope ) : void
AddReferences ( ) : void
CheckForErrors ( ) : void
CheckIdentifierForCLSCompliance ( String name ) : bool
CheckTypeNameForCLSCompliance ( String name, String fullname, Context context ) : void
Clone ( AppDomain domain ) : IVsaEngine
CompileEmpty ( ) : bool
ConnectEvents ( ) : void
CreateAttribute ( XmlDocument doc, XmlElement elem, string name, string value ) : void
CreateEngineForDebugger ( ) : VsaEngine
CreateEntryPointIL ( ILGenerator il, FieldInfo site ) : void
CreateEntryPointIL ( ILGenerator il, FieldInfo site, TypeBuilder startupClass ) : void
CreateHostCallbackIL ( ILGenerator il, FieldInfo site ) : void
CreateMain ( ) : void
CreateShutdownIL ( ILGenerator il ) : void
CreateStartupClass ( ) : void
DisconnectEvents ( ) : void
EmitReferences ( ) : void
EnsureReflectionOnlyModulesLoaded ( ) : void
FindAssembly ( String name ) : String
GenerateRandomPEFileName ( ) : string
GetAssembly ( ) : Assembly
GetClass ( String className ) : ClassScope
GetItem ( String itemName ) : IVsaItem
GetItemAtIndex ( int index ) : IVsaItem
GetItemCount ( ) : int
GetScannerInstance ( string name ) : JSScanner
GetStaticCodeBlockCount ( ) : int
GetType ( String typeName ) : Type
GetVersionString ( ) : string
InitVsaEngine ( string rootMoniker, IVsaSite site ) : void
Interrupt ( ) : void
IsValidIdentifier ( string ident ) : bool
LoadCustomOptions ( XmlElement parent ) : void
LoadManagedResources ( XmlElement parent ) : void
LoadProjectVersion ( XmlElement root ) : System.Version
LoadUserDefines ( XmlElement parent ) : void
LoadVsaEngineState ( XmlElement parent ) : void
LoadVsaItems ( XmlElement parent ) : void
OnCompilerError ( JScriptException se ) : bool
RegisterEventSource ( String name ) : void
Reset ( ) : void
Restart ( ) : void
Run ( AppDomain domain ) : void
RunEmpty ( ) : void
SaveCustomOptions ( XmlDocument project, XmlElement parent ) : void
SaveManagedResources ( XmlDocument project, XmlElement parent ) : void
SaveProjectVersion ( XmlDocument project, XmlElement root ) : void
SaveSourceForDebugging ( ) : void
SaveUserDefines ( XmlDocument project, XmlElement parent ) : void
SaveVsaEngineState ( XmlDocument project, XmlElement parent ) : void
SaveVsaItems ( XmlDocument project, XmlElement parent ) : void
SetEnclosingContext ( ScriptObject ob ) : void
SetUpCompilerEnvironment ( ) : void
TryToAddImplicitAssemblyReference ( String name ) : void
VsaEngine ( Assembly runtimeAssembly ) : Microsoft.JScript

Описание методов

CreateEngine() публичный статический метод

public static CreateEngine ( ) : VsaEngine
Результат VsaEngine

CreateEngineAndGetGlobalScope() публичный статический метод

public static CreateEngineAndGetGlobalScope ( bool fast, String assemblyNames ) : GlobalScope
fast bool
assemblyNames String
Результат Microsoft.JScript.GlobalScope

CreateEngineAndGetGlobalScopeWithType() публичный статический метод

public static CreateEngineAndGetGlobalScopeWithType ( bool fast, String assemblyNames, RuntimeTypeHandle callingTypeHandle ) : GlobalScope
fast bool
assemblyNames String
callingTypeHandle System.RuntimeTypeHandle
Результат Microsoft.JScript.GlobalScope

CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace() публичный статический метод

public static CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace ( bool fast, String assemblyNames, RuntimeTypeHandle callingTypeHandle, string rootNamespace ) : GlobalScope
fast bool
assemblyNames String
callingTypeHandle System.RuntimeTypeHandle
rootNamespace string
Результат Microsoft.JScript.GlobalScope

CreateEngineWithType() публичный статический метод

public static CreateEngineWithType ( RuntimeTypeHandle callingTypeHandle ) : VsaEngine
callingTypeHandle System.RuntimeTypeHandle
Результат VsaEngine

DoClose() защищенный метод

protected DoClose ( ) : void
Результат void

DoCompile() защищенный метод

protected DoCompile ( ) : bool
Результат bool

DoLoadSourceState() защищенный метод

protected DoLoadSourceState ( IVsaPersistSite site ) : void
site IVsaPersistSite
Результат void

DoSaveCompiledState() защищенный метод

protected DoSaveCompiledState ( byte &pe, byte &pdb ) : void
pe byte
pdb byte
Результат void

DoSaveSourceState() защищенный метод

protected DoSaveSourceState ( IVsaPersistSite site ) : void
site IVsaPersistSite
Результат void

GetCustomOption() защищенный метод

protected GetCustomOption ( String name ) : Object
name String
Результат Object

GetGlobalScope() публичный метод

public GetGlobalScope ( ) : IVsaScriptScope
Результат IVsaScriptScope

GetMainScope() публичный метод

public GetMainScope ( ) : GlobalScope
Результат Microsoft.JScript.GlobalScope

GetModule() публичный метод

public GetModule ( ) : Module
Результат System.Reflection.Module

GetOriginalArrayConstructor() публичный метод

public GetOriginalArrayConstructor ( ) : ArrayConstructor
Результат Microsoft.JScript.ArrayConstructor

GetOriginalObjectConstructor() публичный метод

public GetOriginalObjectConstructor ( ) : ObjectConstructor
Результат Microsoft.JScript.ObjectConstructor

GetOriginalRegExpConstructor() публичный метод

public GetOriginalRegExpConstructor ( ) : RegExpConstructor
Результат Microsoft.JScript.RegExpConstructor

IsValidNamespaceName() защищенный метод

protected IsValidNamespaceName ( string name ) : bool
name string
Результат bool

LoadCompiledState() защищенный метод

protected LoadCompiledState ( ) : Assembly
Результат System.Reflection.Assembly

PopScriptObject() публичный метод

public PopScriptObject ( ) : ScriptObject
Результат Microsoft.JScript.ScriptObject

PushScriptObject() публичный метод

public PushScriptObject ( ScriptObject obj ) : void
obj Microsoft.JScript.ScriptObject
Результат void

ResetCompiledState() защищенный метод

protected ResetCompiledState ( ) : void
Результат void

ScriptObjectStackTop() публичный метод

public ScriptObjectStackTop ( ) : ScriptObject
Результат Microsoft.JScript.ScriptObject

SetCustomOption() защищенный метод

protected SetCustomOption ( String name, Object value ) : void
name String
value Object
Результат void

SetOutputStream() публичный метод

public SetOutputStream ( IMessageReceiver output ) : void
output IMessageReceiver
Результат void

ValidateRootMoniker() защищенный метод

protected ValidateRootMoniker ( string rootMoniker ) : void
rootMoniker string
Результат void

VsaEngine() публичный метод

public VsaEngine ( ) : Microsoft.JScript
Результат Microsoft.JScript

VsaEngine() публичный метод

public VsaEngine ( bool fast ) : Microsoft.JScript
fast bool
Результат Microsoft.JScript