메소드 |
설명 |
|
CreateFromConfiguration ( ) : ScriptRuntime |
Creates a new runtime with languages set up according to the current application configuration (using System.Configuration). |
|
CreateOperations ( ) : ObjectOperations |
|
|
CreateRemote ( AppDomain domain, ScriptRuntimeSetup setup ) : ScriptRuntime |
Creates ScriptRuntime in the current app-domain and initialized according to the the specified settings. Creates an instance of host class specified in the setup and associates it with the created runtime. Both Runtime and ScriptHost are collocated in the specified app-domain. |
|
CreateScope ( ) : ScriptScope |
|
|
CreateScope ( object>.IDictionary dictionary ) : ScriptScope |
|
|
CreateScope ( IDynamicMetaObjectProvider storage ) : ScriptScope |
|
|
CreateScope ( string languageId ) : ScriptScope |
|
|
CreateScope ( string languageId, object>.IDictionary storage ) : ScriptScope |
|
|
CreateScope ( string languageId, IDynamicMetaObjectProvider storage ) : ScriptScope |
|
|
ExecuteFile ( string path ) : ScriptScope |
|
|
GetEngine ( string languageName ) : ScriptEngine |
|
|
GetEngineByFileExtension ( string fileExtension ) : ScriptEngine |
|
|
GetEngineByTypeName ( string assemblyQualifiedTypeName ) : ScriptEngine |
|
|
InitializeLifetimeService ( ) : object |
|
|
LoadAssembly ( Assembly assembly ) : void |
This method walks the assembly's namespaces and name bindings to ScriptRuntime.Globals to represent the types available in the assembly. Each top-level namespace name gets bound in Globals to a dynamic object representing the namespace. Within each top-level namespace object, nested namespace names are bound to dynamic objects representing each tier of nested namespaces. When this method encounters the same namespace-qualified name, it merges names together objects representing the namespaces. |
|
ScriptRuntime ( ScriptRuntimeSetup setup ) : System |
Creates ScriptRuntime in the current app-domain and initialized according to the the specified settings. Creates an instance of host class specified in the setup and associates it with the created runtime. Both Runtime and ScriptHost are collocated in the current app-domain. |
|
Shutdown ( ) : void |
|
|
TryGetEngine ( string languageName, ScriptEngine &engine ) : bool |
|
|
TryGetEngineByFileExtension ( string fileExtension, ScriptEngine &engine ) : bool |
|
|
UseFile ( string path ) : ScriptScope |
|
|