Class JsScriptEngine
Inheritance
System.Object
JsScriptEngine
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syn.Bot.Common
Assembly: Syn.Bot.dll
Syntax
public class JsScriptEngine : IScriptEngine
Constructors
JsScriptEngine(IBot)
Declaration
public JsScriptEngine(IBot bot)
Parameters
Type | Name | Description |
---|---|---|
IBot | bot |
Properties
JavaScriptEngine
Declaration
public Engine JavaScriptEngine { get; set; }
Property Value
Type | Description |
---|---|
Jint.Engine |
Type
Declaration
public string Type { get; }
Property Value
Type | Description |
---|---|
System.String |
TypeSynonyms
Declaration
public string[] TypeSynonyms { get; }
Property Value
Type | Description |
---|---|
System.String[] |
Methods
Execute(String)
Declaration
public object Execute(string script)
Parameters
Type | Name | Description |
---|---|---|
System.String | script |
Returns
Type | Description |
---|---|
System.Object |