Skip to main content

JsObjectExpression

Assembly: ServiceStack.Common.dll​
View Source​
Declaration
public class JsObjectExpression : JsExpression, IRawString

Properties​

Properties​

View Source​
Declaration
public JsProperty[] Properties { get; }

Methods​

GetKey(JsToken)​

View Source​
Declaration
public static string GetKey(JsToken token)
Returns​

System.String

Parameters​
TypeName
ServiceStack.Script.JsTokentoken

Evaluate(ScriptScopeContext)​

View Source​
Declaration
public override object Evaluate(ScriptScopeContext scope)
Returns​

System.Object

Parameters​
TypeName
ServiceStack.Script.ScriptScopeContextscope

ToRawString()​

View Source​
Declaration
public override string ToRawString()
Returns​

System.String

ToJsAst()​

View Source​
Declaration
public override Dictionary<string, object> ToJsAst()
Returns​

System.Collections.Generic.Dictionary<System.String,System.Object>

Equals(JsObjectExpression)​

View Source​
Declaration
protected bool Equals(JsObjectExpression other)
Returns​

System.Boolean

Parameters​
TypeName
ServiceStack.Script.JsObjectExpressionother

Equals(Object)​

View Source​
Declaration
public override bool Equals(object obj)
Returns​

System.Boolean

Parameters​
TypeName
System.Objectobj

GetHashCode()​

View Source​
Declaration
public override int GetHashCode()
Returns​

System.Int32

Inherited Methods​

ToJsAst()​

View Source​
Declaration
public abstract Dictionary<string, object> ToJsAst()
Returns​

System.Collections.Generic.Dictionary<System.String,System.Object>

ToJsAstType()​

View Source​
Declaration
public virtual string ToJsAstType()
Returns​

System.String

Implements​