JsLiteral
Assembly: ServiceStack.Common.dll
View Source
Declaration
public class JsLiteral : JsExpression, IRawString
Properties
Value
View Source
Declaration
public object Value { get; }
Fields
True
View Source
Declaration
public static JsLiteral True
False
View Source
Declaration
public static JsLiteral False
Methods
ToRawString()
View Source
Declaration
public override string ToRawString()
Returns
System.String
GetHashCode()
View Source
Declaration
public override int GetHashCode()
Returns
System.Int32
Equals(JsLiteral)
View Source
Declaration
protected bool Equals(JsLiteral other)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.Script.JsLiteral | other |
Equals(Object)
View Source
Declaration
public override bool Equals(object obj)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Object | obj |
ToString()
View Source
Declaration
public override string ToString()
Returns
System.String
Evaluate(ScriptScopeContext)
View Source
Declaration
public override object Evaluate(ScriptScopeContext scope)
Returns
System.Object
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
ToJsAst()
View Source
Declaration
public override Dictionary<string, object> ToJsAst()
Returns
System.Collections.Generic.Dictionary<System.String,System.Object>
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