C# Класс Net.Http.WebApi.OData.Query.Expressions.ConstantNode

Наследование: SingleValueNode
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Boolean ( string literalText, bool value ) : ConstantNode
ConstantNode ( EdmType edmType, string literalText, object value ) : System

Initialises a new instance of the ConstantNode class.

Описание методов

DateTime() публичный статический Метод

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.
Результат ConstantNode

DateTimeOffset() публичный статический Метод

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.
Результат ConstantNode

Decimal() публичный статический Метод

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.
Результат ConstantNode

Double() публичный статический Метод

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.
Результат ConstantNode

Guid() публичный статический Метод

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.
Результат ConstantNode

Int32() публичный статический Метод

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.
Результат ConstantNode

Int64() публичный статический Метод

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.
Результат ConstantNode

Single() публичный статический Метод

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.
Результат ConstantNode

String() публичный статический Метод

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.
Результат ConstantNode

Time() публичный статический Метод

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.
Результат ConstantNode