C# Class ComponentFactory.Quicksilver.Binding.ImplicitConverter

Provides helper methods for performing implicit type conversion.
ファイルを表示 Open project: ComponentFactory/Quicksilver

Public Methods

Method Description
CanConvertTo ( TypeCode target, object value, System.Language language ) : bool

Determines if the incoming value can be implicitly converted to the target type.

CanConvertToBoolean ( object value, System.Language language ) : bool

Determines if a value can be implicitly converted to Boolean.

CanConvertToByte ( object value, System.Language language ) : bool

Determines if a value can be implicitly converted to Byte.

CanConvertToChar ( object value, System.Language language ) : bool

Determines if a value can be implicitly converted to Char.

CanConvertToDecimal ( object value, System.Language language ) : bool

Determines if a value can be implicitly converted to Decimal.

CanConvertToDouble ( object value, System.Language language ) : bool

Determines if a value can be implicitly converted to Double.

CanConvertToInt16 ( object value, System.Language language ) : bool

Determines if a value can be implicitly converted to Int16.

CanConvertToInt32 ( object value, System.Language language ) : bool

Determines if a value can be implicitly converted to Int32.

CanConvertToInt64 ( object value, System.Language language ) : bool

Determines if a value can be implicitly converted to Int64.

CanConvertToSByte ( object value, System.Language language ) : bool

Determines if a value can be implicitly converted to SByte.

CanConvertToSingle ( object value, System.Language language ) : bool

Determines if a value can be implicitly converted to Single.

CanConvertToUInt16 ( object value, System.Language language ) : bool

Determines if a value can be implicitly converted to UInt16.

CanConvertToUInt32 ( object value, System.Language language ) : bool

Determines if a value can be implicitly converted to UInt32.

CanConvertToUInt64 ( object value, System.Language language ) : bool

Determines if a value can be implicitly converted to UInt64.

ConvertTo ( TypeCode target, object value, System.Language language ) : object

Implicit conversion from incoming value to target type.

ConvertToBoolean ( object value, System.Language language ) : bool

Implicit conversion from incoming value to Boolean.

ConvertToByte ( object value, System.Language language ) : Byte

Implicit conversion from incoming value to Byte.

ConvertToChar ( object value, System.Language language ) : char

Implicit conversion from incoming value to Char.

ConvertToDecimal ( object value, System.Language language ) : Decimal

Implicit conversion from incoming value to Decimal.

ConvertToDouble ( object value, System.Language language ) : Double

Implicit conversion from incoming value to Double.

ConvertToInt16 ( object value, System.Language language ) : Int16

Implicit conversion from incoming value to Int16.

ConvertToInt32 ( object value, System.Language language ) : Int32

Implicit conversion from incoming value to Int32.

ConvertToInt64 ( object value, System.Language language ) : System.Int64

Implicit conversion from incoming value to Int64.

ConvertToSByte ( object value, System.Language language ) : SByte

Implicit conversion from incoming value to SByte.

ConvertToSingle ( object value, System.Language language ) : System.Single

Implicit conversion from incoming value to Single.

ConvertToUInt16 ( object value, System.Language language ) : UInt16

Implicit conversion from incoming value to UInt16.

ConvertToUInt32 ( object value, System.Language language ) : UInt32

Implicit conversion from incoming value to UInt32.

ConvertToUInt64 ( object value, System.Language language ) : System.UInt64

Implicit conversion from incoming value to UInt64.

Method Details

CanConvertTo() public static method

Determines if the incoming value can be implicitly converted to the target type.
public static CanConvertTo ( TypeCode target, object value, System.Language language ) : bool
target TypeCode Target type for value to be converted into.
value object Value to be tested.
language System.Language Language rules to be used.
return bool

CanConvertToBoolean() public static method

Determines if a value can be implicitly converted to Boolean.
public static CanConvertToBoolean ( object value, System.Language language ) : bool
value object Value to test.
language System.Language Language rules to be used.
return bool

CanConvertToByte() public static method

Determines if a value can be implicitly converted to Byte.
public static CanConvertToByte ( object value, System.Language language ) : bool
value object Value to test.
language System.Language Language rules to be used.
return bool

CanConvertToChar() public static method

Determines if a value can be implicitly converted to Char.
public static CanConvertToChar ( object value, System.Language language ) : bool
value object Value to test.
language System.Language Language rules to be used.
return bool

CanConvertToDecimal() public static method

Determines if a value can be implicitly converted to Decimal.
public static CanConvertToDecimal ( object value, System.Language language ) : bool
value object Value to test.
language System.Language Language rules to be used.
return bool

CanConvertToDouble() public static method

Determines if a value can be implicitly converted to Double.
public static CanConvertToDouble ( object value, System.Language language ) : bool
value object Value to test.
language System.Language Language rules to be used.
return bool

CanConvertToInt16() public static method

Determines if a value can be implicitly converted to Int16.
public static CanConvertToInt16 ( object value, System.Language language ) : bool
value object Value to test.
language System.Language Language rules to be used.
return bool

CanConvertToInt32() public static method

Determines if a value can be implicitly converted to Int32.
public static CanConvertToInt32 ( object value, System.Language language ) : bool
value object Value to test.
language System.Language Language rules to be used.
return bool

CanConvertToInt64() public static method

Determines if a value can be implicitly converted to Int64.
public static CanConvertToInt64 ( object value, System.Language language ) : bool
value object Value to test.
language System.Language Language rules to be used.
return bool

CanConvertToSByte() public static method

Determines if a value can be implicitly converted to SByte.
public static CanConvertToSByte ( object value, System.Language language ) : bool
value object Value to test.
language System.Language Language rules to be used.
return bool

CanConvertToSingle() public static method

Determines if a value can be implicitly converted to Single.
public static CanConvertToSingle ( object value, System.Language language ) : bool
value object Value to test.
language System.Language Language rules to be used.
return bool

CanConvertToUInt16() public static method

Determines if a value can be implicitly converted to UInt16.
public static CanConvertToUInt16 ( object value, System.Language language ) : bool
value object Value to test.
language System.Language Language rules to be used.
return bool

CanConvertToUInt32() public static method

Determines if a value can be implicitly converted to UInt32.
public static CanConvertToUInt32 ( object value, System.Language language ) : bool
value object Value to test.
language System.Language Language rules to be used.
return bool

CanConvertToUInt64() public static method

Determines if a value can be implicitly converted to UInt64.
public static CanConvertToUInt64 ( object value, System.Language language ) : bool
value object Value to test.
language System.Language Language rules to be used.
return bool

ConvertTo() public static method

Implicit conversion from incoming value to target type.
public static ConvertTo ( TypeCode target, object value, System.Language language ) : object
target TypeCode Target type for value to be converted into.
value object Value to be converted.
language System.Language Language rules to be used.
return object

ConvertToBoolean() public static method

Implicit conversion from incoming value to Boolean.
public static ConvertToBoolean ( object value, System.Language language ) : bool
value object Value to convert.
language System.Language Language rules to be used.
return bool

ConvertToByte() public static method

Implicit conversion from incoming value to Byte.
public static ConvertToByte ( object value, System.Language language ) : Byte
value object Value to convert.
language System.Language Language rules to be used.
return Byte

ConvertToChar() public static method

Implicit conversion from incoming value to Char.
public static ConvertToChar ( object value, System.Language language ) : char
value object Value to convert.
language System.Language Language rules to be used.
return char

ConvertToDecimal() public static method

Implicit conversion from incoming value to Decimal.
public static ConvertToDecimal ( object value, System.Language language ) : Decimal
value object Value to convert.
language System.Language Language rules to be used.
return Decimal

ConvertToDouble() public static method

Implicit conversion from incoming value to Double.
public static ConvertToDouble ( object value, System.Language language ) : Double
value object Value to convert.
language System.Language Language rules to be used.
return Double

ConvertToInt16() public static method

Implicit conversion from incoming value to Int16.
public static ConvertToInt16 ( object value, System.Language language ) : Int16
value object Value to convert.
language System.Language Language rules to be used.
return System.Int16

ConvertToInt32() public static method

Implicit conversion from incoming value to Int32.
public static ConvertToInt32 ( object value, System.Language language ) : Int32
value object Value to convert.
language System.Language Language rules to be used.
return System.Int32

ConvertToInt64() public static method

Implicit conversion from incoming value to Int64.
public static ConvertToInt64 ( object value, System.Language language ) : System.Int64
value object Value to convert.
language System.Language Language rules to be used.
return System.Int64

ConvertToSByte() public static method

Implicit conversion from incoming value to SByte.
public static ConvertToSByte ( object value, System.Language language ) : SByte
value object Value to convert.
language System.Language Language rules to be used.
return SByte

ConvertToSingle() public static method

Implicit conversion from incoming value to Single.
public static ConvertToSingle ( object value, System.Language language ) : System.Single
value object Value to convert.
language System.Language Language rules to be used.
return System.Single

ConvertToUInt16() public static method

Implicit conversion from incoming value to UInt16.
public static ConvertToUInt16 ( object value, System.Language language ) : UInt16
value object Value to convert.
language System.Language Language rules to be used.
return System.UInt16

ConvertToUInt32() public static method

Implicit conversion from incoming value to UInt32.
public static ConvertToUInt32 ( object value, System.Language language ) : UInt32
value object Value to convert.
language System.Language Language rules to be used.
return System.UInt32

ConvertToUInt64() public static method

Implicit conversion from incoming value to UInt64.
public static ConvertToUInt64 ( object value, System.Language language ) : System.UInt64
value object Value to convert.
language System.Language Language rules to be used.
return System.UInt64