C# Class Rebel.Framework.Dynamics.DynamicNullableValueObject

Inheritance: System.Dynamic.DynamicObject, IConvertible
Mostrar archivo Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
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

Protected Methods

Method Description
GetOrCreateValue ( ) : object

Method Details

GetOrCreateValue() protected method

protected GetOrCreateValue ( ) : object
return object

GetTypeCode() public method

Returns the T:System.TypeCode for this instance.
public GetTypeCode ( ) : TypeCode
return TypeCode

ToBoolean() public method

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.
return bool

ToByte() public method

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.
return byte

ToChar() public method

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.
return char

ToDateTime() public method

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.
return System.DateTime

ToDecimal() public method

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.
return decimal

ToDouble() public method

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.
return double

ToInt16() public method

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.
return short

ToInt32() public method

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.
return int

ToInt64() public method

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.
return long

ToSByte() public method

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.
return sbyte

ToSingle() public method

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.
return float

ToString() public method

public ToString ( ) : string
return string

ToString() public method

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.
return string

ToType() public method

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.
return object

ToUInt16() public method

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.
return ushort

ToUInt32() public method

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.
return uint

ToUInt64() public method

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.
return ulong

TryConvert() public method

public TryConvert ( ConvertBinder binder, object &result ) : bool
binder System.Dynamic.ConvertBinder
result object
return bool