C# Класс Rebel.Framework.Dynamics.DynamicNullableValueObject

Наследование: System.Dynamic.DynamicObject, IConvertible
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetTypeCode ( ) : TypeCode

Returns the T:System.TypeCode for this instance.

ToBoolean ( IFormatProvider provider ) : bool

Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.

ToByte ( IFormatProvider provider ) : byte

Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.

ToChar ( IFormatProvider provider ) : char

Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.

ToDateTime ( IFormatProvider provider ) : System.DateTime

Converts the value of this instance to an equivalent T:System.DateTime using the specified culture-specific formatting information.

ToDecimal ( IFormatProvider provider ) : decimal

Converts the value of this instance to an equivalent T:System.Decimal number using the specified culture-specific formatting information.

ToDouble ( IFormatProvider provider ) : double

Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.

ToInt16 ( IFormatProvider provider ) : short

Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.

ToInt32 ( IFormatProvider provider ) : int

Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.

ToInt64 ( IFormatProvider provider ) : long

Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.

ToSByte ( IFormatProvider provider ) : sbyte

Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.

ToSingle ( IFormatProvider provider ) : float

Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.

ToString ( ) : string
ToString ( IFormatProvider provider ) : string

Converts the value of this instance to an equivalent T:System.String using the specified culture-specific formatting information.

ToType ( Type conversionType, IFormatProvider provider ) : object

Converts the value of this instance to an T:System.Object of the specified T:System.Type that has an equivalent value, using the specified culture-specific formatting information.

ToUInt16 ( IFormatProvider provider ) : ushort

Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.

ToUInt32 ( IFormatProvider provider ) : uint

Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.

ToUInt64 ( IFormatProvider provider ) : ulong

Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.

TryConvert ( ConvertBinder binder, object &result ) : bool

Защищенные методы

Метод Описание
GetOrCreateValue ( ) : object

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

GetOrCreateValue() защищенный Метод

protected GetOrCreateValue ( ) : object
Результат object

GetTypeCode() публичный Метод

Returns the T:System.TypeCode for this instance.
public GetTypeCode ( ) : TypeCode
Результат TypeCode

ToBoolean() публичный Метод

Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
public ToBoolean ( IFormatProvider provider ) : bool
provider IFormatProvider An interface implementation that supplies culture-specific formatting information.
Результат bool

ToByte() публичный Метод

Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.
public ToByte ( IFormatProvider provider ) : byte
provider IFormatProvider An interface implementation that supplies culture-specific formatting information.
Результат byte

ToChar() публичный Метод

Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
public ToChar ( IFormatProvider provider ) : char
provider IFormatProvider An interface implementation that supplies culture-specific formatting information.
Результат char

ToDateTime() публичный Метод

Converts the value of this instance to an equivalent T:System.DateTime using the specified culture-specific formatting information.
public ToDateTime ( IFormatProvider provider ) : System.DateTime
provider IFormatProvider An interface implementation that supplies culture-specific formatting information.
Результат System.DateTime

ToDecimal() публичный Метод

Converts the value of this instance to an equivalent T:System.Decimal number using the specified culture-specific formatting information.
public ToDecimal ( IFormatProvider provider ) : decimal
provider IFormatProvider An interface implementation that supplies culture-specific formatting information.
Результат decimal

ToDouble() публичный Метод

Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.
public ToDouble ( IFormatProvider provider ) : double
provider IFormatProvider An interface implementation that supplies culture-specific formatting information.
Результат double

ToInt16() публичный Метод

Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
public ToInt16 ( IFormatProvider provider ) : short
provider IFormatProvider An interface implementation that supplies culture-specific formatting information.
Результат short

ToInt32() публичный Метод

Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.
public ToInt32 ( IFormatProvider provider ) : int
provider IFormatProvider An interface implementation that supplies culture-specific formatting information.
Результат int

ToInt64() публичный Метод

Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.
public ToInt64 ( IFormatProvider provider ) : long
provider IFormatProvider An interface implementation that supplies culture-specific formatting information.
Результат long

ToSByte() публичный Метод

Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.
public ToSByte ( IFormatProvider provider ) : sbyte
provider IFormatProvider An interface implementation that supplies culture-specific formatting information.
Результат sbyte

ToSingle() публичный Метод

Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
public ToSingle ( IFormatProvider provider ) : float
provider IFormatProvider An interface implementation that supplies culture-specific formatting information.
Результат float

ToString() публичный Метод

public ToString ( ) : string
Результат string

ToString() публичный Метод

Converts the value of this instance to an equivalent T:System.String using the specified culture-specific formatting information.
public ToString ( IFormatProvider provider ) : string
provider IFormatProvider An interface implementation that supplies culture-specific formatting information.
Результат string

ToType() публичный Метод

Converts the value of this instance to an T:System.Object of the specified T:System.Type that has an equivalent value, using the specified culture-specific formatting information.
public ToType ( Type conversionType, IFormatProvider provider ) : object
conversionType System.Type The to which the value of this instance is converted.
provider IFormatProvider An interface implementation that supplies culture-specific formatting information.
Результат object

ToUInt16() публичный Метод

Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.
public ToUInt16 ( IFormatProvider provider ) : ushort
provider IFormatProvider An interface implementation that supplies culture-specific formatting information.
Результат ushort

ToUInt32() публичный Метод

Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.
public ToUInt32 ( IFormatProvider provider ) : uint
provider IFormatProvider An interface implementation that supplies culture-specific formatting information.
Результат uint

ToUInt64() публичный Метод

Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
public ToUInt64 ( IFormatProvider provider ) : ulong
provider IFormatProvider An interface implementation that supplies culture-specific formatting information.
Результат ulong

TryConvert() публичный Метод

public TryConvert ( ConvertBinder binder, object &result ) : bool
binder System.Dynamic.ConvertBinder
result object
Результат bool