Class DynamicExpression
Represents a dynamic expression in the script
Inheritance
System.Object
DynamicExpression
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class DynamicExpression : IScriptPrivateResource
Fields
ExpressionCode
The code which generated this expression
Declaration
public readonly string ExpressionCode
Field Value
System.String
|
Properties
OwnerScript
Gets the script owning this resource.
Declaration
public Script OwnerScript { get; }
Property Value
Script
The script owning this resource. |
Implements
Methods
Equals(Object)
Determines whether the specified System.Object, is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with this instance. |
Returns
System.Boolean
|
Overrides
System.Object.Equals(System.Object)
Evaluate(ScriptExecutionContext)
Evaluates the expression
Declaration
public DynValue Evaluate(ScriptExecutionContext context = null)
Parameters
ScriptExecutionContext
context
The context. |
Returns
DynValue
|
FindSymbol(ScriptExecutionContext)
Finds a symbol in the expression
Declaration
public SymbolRef FindSymbol(ScriptExecutionContext context)
Parameters
ScriptExecutionContext
context
The context. |
Returns
SymbolRef
|
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
System.Object.GetHashCode()
IsConstant()
Determines whether this instance is a constant expression
Declaration
public bool IsConstant()
Returns
System.Boolean
|