Interface IDlrLanguage
Base class which must be inherited in all Language implementations (e.g. IronPythonLanguage)
Namespace: Simplic.Dlr
Assembly: Simplic.Dlr.dll
Syntax
public interface IDlrLanguage
Properties
| Improve this Doc View SourceLanguageOptionSet
Gets or sets a set of language options. For example Arguments for passing argv
Declaration
IDictionary<string, object> LanguageOptionSet { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |
Methods
| Improve this Doc View SourceCreateEngine(ScriptRuntime)
Create scripting engine
Declaration
ScriptEngine CreateEngine(ScriptRuntime runtime)
Parameters
Type | Name | Description |
---|---|---|
ScriptRuntime | runtime | Instance of the used runtime, created by the DlrHost |
Returns
Type | Description |
---|---|
ScriptEngine | Instance if the script engine (e.g. for IronPython, IronRuby, ...) |
CreateRuntime()
Create runtime settings
Declaration
ScriptRuntimeSetup CreateRuntime()
Returns
Type | Description |
---|---|
ScriptRuntimeSetup | ScriptRuntimeSetup containing all settings |