C# Class Net.Http.WebApi.OData.Query.Expressions.ConstantNode

Inheritance: SingleValueNode
Mostrar archivo Open project: TrevorPilley/Net.Http.WebApi.OData Class Usage Examples

Public Methods

Method Description
DateTime ( string literalText, System.DateTime value ) : ConstantNode

Gets a ConstantNode which represents a DateTime value.

DateTimeOffset ( string literalText, DateTimeOffset value ) : ConstantNode

Gets a ConstantNode which represents a DateTimeOffset value.

Decimal ( string literalText, decimal value ) : ConstantNode

Gets a ConstantNode which represents a decimal value.

Double ( string literalText, double value ) : ConstantNode

Gets a ConstantNode which represents a double value.

Guid ( string literalText, System.Guid value ) : ConstantNode

Gets a ConstantNode which represents a Guid value.

Int32 ( string literalText, int value ) : ConstantNode

Gets a ConstantNode which represents a 32 bit signed integer value.

Int64 ( string literalText, long value ) : ConstantNode

Gets a ConstantNode which represents a 64 bit signed integer value.

Single ( string literalText, float value ) : ConstantNode

Gets a ConstantNode which represents a float value.

String ( string literalText, string value ) : ConstantNode

Gets a ConstantNode which represents a string value.

Time ( string literalText, System.TimeSpan value ) : ConstantNode

Gets a ConstantNode which represents a time value.

Private Methods

Method Description
Boolean ( string literalText, bool value ) : ConstantNode
ConstantNode ( EdmType edmType, string literalText, object value ) : System

Initialises a new instance of the ConstantNode class.

Method Details

DateTime() public static method

Gets a ConstantNode which represents a DateTime value.
public static DateTime ( string literalText, System.DateTime value ) : ConstantNode
literalText string The literal text.
value System.DateTime The value.
return ConstantNode

DateTimeOffset() public static method

Gets a ConstantNode which represents a DateTimeOffset value.
public static DateTimeOffset ( string literalText, DateTimeOffset value ) : ConstantNode
literalText string The literal text.
value DateTimeOffset The value.
return ConstantNode

Decimal() public static method

Gets a ConstantNode which represents a decimal value.
public static Decimal ( string literalText, decimal value ) : ConstantNode
literalText string The literal text.
value decimal The value.
return ConstantNode

Double() public static method

Gets a ConstantNode which represents a double value.
public static Double ( string literalText, double value ) : ConstantNode
literalText string The literal text.
value double The value.
return ConstantNode

Guid() public static method

Gets a ConstantNode which represents a Guid value.
public static Guid ( string literalText, System.Guid value ) : ConstantNode
literalText string The literal text.
value System.Guid The value.
return ConstantNode

Int32() public static method

Gets a ConstantNode which represents a 32 bit signed integer value.
public static Int32 ( string literalText, int value ) : ConstantNode
literalText string The literal text.
value int The value.
return ConstantNode

Int64() public static method

Gets a ConstantNode which represents a 64 bit signed integer value.
public static Int64 ( string literalText, long value ) : ConstantNode
literalText string The literal text.
value long The value.
return ConstantNode

Single() public static method

Gets a ConstantNode which represents a float value.
public static Single ( string literalText, float value ) : ConstantNode
literalText string The literal text.
value float The value.
return ConstantNode

String() public static method

Gets a ConstantNode which represents a string value.
public static String ( string literalText, string value ) : ConstantNode
literalText string The literal text.
value string The value.
return ConstantNode

Time() public static method

Gets a ConstantNode which represents a time value.
public static Time ( string literalText, System.TimeSpan value ) : ConstantNode
literalText string The literal text.
value System.TimeSpan The value.
return ConstantNode