C# Class ComponentFactory.Quicksilver.Binding.ImplicitConverter

Provides helper methods for performing implicit type conversion.
Afficher le fichier Open project: ComponentFactory/Quicksilver

Méthodes publiques

Méthode 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 méthode

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.
Résultat bool

CanConvertToBoolean() public static méthode

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.
Résultat bool

CanConvertToByte() public static méthode

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.
Résultat bool

CanConvertToChar() public static méthode

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.
Résultat bool

CanConvertToDecimal() public static méthode

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.
Résultat bool

CanConvertToDouble() public static méthode

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.
Résultat bool

CanConvertToInt16() public static méthode

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.
Résultat bool

CanConvertToInt32() public static méthode

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.
Résultat bool

CanConvertToInt64() public static méthode

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.
Résultat bool

CanConvertToSByte() public static méthode

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.
Résultat bool

CanConvertToSingle() public static méthode

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.
Résultat bool

CanConvertToUInt16() public static méthode

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.
Résultat bool

CanConvertToUInt32() public static méthode

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.
Résultat bool

CanConvertToUInt64() public static méthode

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.
Résultat bool

ConvertTo() public static méthode

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.
Résultat object

ConvertToBoolean() public static méthode

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.
Résultat bool

ConvertToByte() public static méthode

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.
Résultat Byte

ConvertToChar() public static méthode

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.
Résultat char

ConvertToDecimal() public static méthode

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.
Résultat Decimal

ConvertToDouble() public static méthode

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.
Résultat Double

ConvertToInt16() public static méthode

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.
Résultat System.Int16

ConvertToInt32() public static méthode

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.
Résultat System.Int32

ConvertToInt64() public static méthode

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.
Résultat System.Int64

ConvertToSByte() public static méthode

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.
Résultat SByte

ConvertToSingle() public static méthode

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.
Résultat System.Single

ConvertToUInt16() public static méthode

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.
Résultat System.UInt16

ConvertToUInt32() public static méthode

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.
Résultat System.UInt32

ConvertToUInt64() public static méthode

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.
Résultat System.UInt64