Свойство | Type | Description | |
---|---|---|---|
GetEngine | ScriptEngine | ||
GetEngineNoLockNoNotification | ScriptEngine |
Méthode | Description | |
---|---|---|
CreateFromConfiguration ( ) : |
Creates a new runtime with languages set up according to the current application configuration (using System.Configuration).
|
|
CreateOperations ( ) : ObjectOperations | ||
CreateRemote ( |
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 |
||
CreateScope ( IDynamicMetaObjectProvider storage ) : ScriptScope | ||
CreateScope ( string languageId ) : ScriptScope | ||
CreateScope ( string languageId, object>.IDictionary |
||
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 ( |
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 ( |
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 |
Méthode | Description | |
---|---|---|
GetEngine ( LanguageContext language ) : ScriptEngine |
Gets engine for the specified language.
|
|
GetEngineNoLockNoNotification ( LanguageContext language, bool &freshEngineCreated ) : ScriptEngine |
Looks up the engine for the specified language. If the engine hasn't been created in this Runtime, it is instantiated here. The method doesn't lock nor send notifications to the host.
|
public static CreateFromConfiguration ( ) : |
||
Résultat |
public CreateOperations ( ) : ObjectOperations | ||
Résultat | ObjectOperations |
public static CreateRemote ( |
||
domain | ||
setup | ||
Résultat |
public CreateScope ( object>.IDictionary |
||
dictionary | object>.IDictionary | |
Résultat | ScriptScope |
public CreateScope ( IDynamicMetaObjectProvider storage ) : ScriptScope | ||
storage | IDynamicMetaObjectProvider | |
Résultat | ScriptScope |
public CreateScope ( string languageId ) : ScriptScope | ||
languageId | string | |
Résultat | ScriptScope |
public CreateScope ( string languageId, object>.IDictionary |
||
languageId | string | |
storage | object>.IDictionary | |
Résultat | ScriptScope |
public CreateScope ( string languageId, IDynamicMetaObjectProvider storage ) : ScriptScope | ||
languageId | string | |
storage | IDynamicMetaObjectProvider | |
Résultat | ScriptScope |
public ExecuteFile ( string path ) : ScriptScope | ||
path | string | |
Résultat | ScriptScope |
public GetEngine ( string languageName ) : ScriptEngine | ||
languageName | string | |
Résultat | ScriptEngine |
public GetEngineByFileExtension ( string fileExtension ) : ScriptEngine | ||
fileExtension | string | |
Résultat | ScriptEngine |
public GetEngineByTypeName ( string assemblyQualifiedTypeName ) : ScriptEngine | ||
assemblyQualifiedTypeName | string | |
Résultat | ScriptEngine |
public InitializeLifetimeService ( ) : object | ||
Résultat | object |
public LoadAssembly ( |
||
assembly | ||
Résultat | void |
public ScriptRuntime ( |
||
setup | ||
Résultat | System |
public TryGetEngine ( string languageName, ScriptEngine &engine ) : bool | ||
languageName | string | |
engine | ScriptEngine | |
Résultat | bool |
public TryGetEngineByFileExtension ( string fileExtension, ScriptEngine &engine ) : bool | ||
fileExtension | string | |
engine | ScriptEngine | |
Résultat | bool |
public UseFile ( string path ) : ScriptScope | ||
path | string | |
Résultat | ScriptScope |