Table of Contents

Class ConstantExpression

Namespace
Dynamicweb.Indexing.Querying.Expressions
Assembly
Dynamicweb.Indexing.dll
The Class ConstantExpression represents constant value expression
public class ConstantExpression : ValueExpression
Inheritance
ConstantExpression
Inherited Members

Properties

DataValue

Gets or sets the value.
public object DataValue { get; set; }

Property Value

object
The value.

DisplayValue

Gets the value to be shown on the UI page
public object DisplayValue { get; }

Property Value

object

Type

Gets the type of the value.
[Obsolete("Use ValueType instead.")]
[JsonConverter(typeof(JsonStringTypeConverter))]
public Type Type { get; }

Property Value

Type
The type.

Value

Gets or sets the value.
[Obsolete("Use DataValue instead.")]
public object Value { get; set; }

Property Value

object
The value.

ValueType

Gets the type of the value.
[JsonConverter(typeof(JsonStringTypeConverter))]
public Type ValueType { get; }

Property Value

Type
The type.

Methods

GetValue()

Gets expression value
public override object GetValue()

Returns

object
The value

ToString()

Converts expression to string
public override string ToString()

Returns

string
String representation of expression
To top