Class Script
A script.
Inherited Members
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Scripting
Assembly: Kephas.Scripting.dll
Syntax
public class Script : Expando, IScript, IExpando, IDynamicMetaObjectProvider, IIndexable
Constructors
| Improve this Doc View SourceScript(String, Object)
Initializes a new instance of the Script class.
Declaration
public Script(string language, object sourceCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | language | The script language. |
System.Object | sourceCode | The source code. |
Properties
| Improve this Doc View SourceLanguage
Gets the script language.
Declaration
public string Language { get; }
Property Value
Type | Description |
---|---|
System.String | The script language. |
SourceCode
Gets the source code as a stream.
Declaration
public object SourceCode { get; }
Property Value
Type | Description |
---|---|
System.Object | The source code. |
Implements
System.Dynamic.IDynamicMetaObjectProvider