C# Class Schumix.Framework.Extensions.ConvertExtensions

Afficher le fichier Open project: Schumix/Schumix2

Méthodes publiques

Méthode Description
ChangeType ( this value, Type conversionType ) : object
ChangeType ( this value, Type conversionType, IFormatProvider provider ) : object
ChangeType ( this value, TypeCode typeCode ) : object
ChangeType ( this value, TypeCode typeCode, IFormatProvider provider ) : object
FromBase64String ( this s ) : byte[]
GetTypeCode ( this value ) : TypeCode
IsDBNull ( this value ) : bool
ToBoolean ( this value ) : bool
ToBoolean ( this value, IFormatProvider provider ) : bool
ToByte ( this value ) : byte
ToByte ( this value, IFormatProvider provider ) : byte
ToByte ( this value, int fromBase ) : byte
ToChar ( this value ) : char
ToChar ( this value, IFormatProvider provider ) : char
ToDateTime ( this value ) : System.DateTime
ToDateTime ( this value, IFormatProvider provider ) : System.DateTime
ToDecimal ( this value ) : decimal
ToDecimal ( this value, IFormatProvider provider ) : decimal
ToDouble ( this value ) : double
ToDouble ( this value, IFormatProvider provider ) : double
ToInt16 ( this value ) : short
ToInt16 ( this value, IFormatProvider provider ) : short
ToInt16 ( this value, int fromBase ) : short
ToInt32 ( this value ) : int
ToInt32 ( this value, IFormatProvider provider ) : int
ToInt32 ( this value, int fromBase ) : int
ToInt64 ( this value ) : long
ToInt64 ( this value, IFormatProvider provider ) : long
ToInt64 ( this value, int fromBase ) : long
ToNumber ( this value ) : double
ToNumber ( this value, int Else ) : double
ToSingle ( this value ) : float
ToSingle ( this value, IFormatProvider provider ) : float
ToString ( this value ) : string
ToString ( this value, IFormatProvider provider ) : string
ToString ( this value, int toBase ) : string

Private Methods

Méthode Description
ToSByte ( this value ) : sbyte
ToSByte ( this value, IFormatProvider provider ) : sbyte
ToSByte ( this value, int fromBase ) : sbyte
ToUInt16 ( this value ) : ushort
ToUInt16 ( this value, IFormatProvider provider ) : ushort
ToUInt16 ( this value, int fromBase ) : ushort
ToUInt32 ( this value ) : uint
ToUInt32 ( this value, IFormatProvider provider ) : uint
ToUInt32 ( this value, int fromBase ) : uint
ToUInt64 ( this value ) : ulong
ToUInt64 ( this value, IFormatProvider provider ) : ulong
ToUInt64 ( this value, int fromBase ) : ulong

Method Details

ChangeType() public static méthode

public static ChangeType ( this value, Type conversionType ) : object
value this
conversionType System.Type
Résultat object

ChangeType() public static méthode

public static ChangeType ( this value, Type conversionType, IFormatProvider provider ) : object
value this
conversionType System.Type
provider IFormatProvider
Résultat object

ChangeType() public static méthode

public static ChangeType ( this value, TypeCode typeCode ) : object
value this
typeCode TypeCode
Résultat object

ChangeType() public static méthode

public static ChangeType ( this value, TypeCode typeCode, IFormatProvider provider ) : object
value this
typeCode TypeCode
provider IFormatProvider
Résultat object

FromBase64String() public static méthode

public static FromBase64String ( this s ) : byte[]
s this
Résultat byte[]

GetTypeCode() public static méthode

public static GetTypeCode ( this value ) : TypeCode
value this
Résultat TypeCode

IsDBNull() public static méthode

public static IsDBNull ( this value ) : bool
value this
Résultat bool

ToBoolean() public static méthode

public static ToBoolean ( this value ) : bool
value this
Résultat bool

ToBoolean() public static méthode

public static ToBoolean ( this value, IFormatProvider provider ) : bool
value this
provider IFormatProvider
Résultat bool

ToByte() public static méthode

public static ToByte ( this value ) : byte
value this
Résultat byte

ToByte() public static méthode

public static ToByte ( this value, IFormatProvider provider ) : byte
value this
provider IFormatProvider
Résultat byte

ToByte() public static méthode

public static ToByte ( this value, int fromBase ) : byte
value this
fromBase int
Résultat byte

ToChar() public static méthode

public static ToChar ( this value ) : char
value this
Résultat char

ToChar() public static méthode

public static ToChar ( this value, IFormatProvider provider ) : char
value this
provider IFormatProvider
Résultat char

ToDateTime() public static méthode

public static ToDateTime ( this value ) : System.DateTime
value this
Résultat System.DateTime

ToDateTime() public static méthode

public static ToDateTime ( this value, IFormatProvider provider ) : System.DateTime
value this
provider IFormatProvider
Résultat System.DateTime

ToDecimal() public static méthode

public static ToDecimal ( this value ) : decimal
value this
Résultat decimal

ToDecimal() public static méthode

public static ToDecimal ( this value, IFormatProvider provider ) : decimal
value this
provider IFormatProvider
Résultat decimal

ToDouble() public static méthode

public static ToDouble ( this value ) : double
value this
Résultat double

ToDouble() public static méthode

public static ToDouble ( this value, IFormatProvider provider ) : double
value this
provider IFormatProvider
Résultat double

ToInt16() public static méthode

public static ToInt16 ( this value ) : short
value this
Résultat short

ToInt16() public static méthode

public static ToInt16 ( this value, IFormatProvider provider ) : short
value this
provider IFormatProvider
Résultat short

ToInt16() public static méthode

public static ToInt16 ( this value, int fromBase ) : short
value this
fromBase int
Résultat short

ToInt32() public static méthode

public static ToInt32 ( this value ) : int
value this
Résultat int

ToInt32() public static méthode

public static ToInt32 ( this value, IFormatProvider provider ) : int
value this
provider IFormatProvider
Résultat int

ToInt32() public static méthode

public static ToInt32 ( this value, int fromBase ) : int
value this
fromBase int
Résultat int

ToInt64() public static méthode

public static ToInt64 ( this value ) : long
value this
Résultat long

ToInt64() public static méthode

public static ToInt64 ( this value, IFormatProvider provider ) : long
value this
provider IFormatProvider
Résultat long

ToInt64() public static méthode

public static ToInt64 ( this value, int fromBase ) : long
value this
fromBase int
Résultat long

ToNumber() public static méthode

public static ToNumber ( this value ) : double
value this
Résultat double

ToNumber() public static méthode

public static ToNumber ( this value, int Else ) : double
value this
Else int
Résultat double

ToSingle() public static méthode

public static ToSingle ( this value ) : float
value this
Résultat float

ToSingle() public static méthode

public static ToSingle ( this value, IFormatProvider provider ) : float
value this
provider IFormatProvider
Résultat float

ToString() public static méthode

public static ToString ( this value ) : string
value this
Résultat string

ToString() public static méthode

public static ToString ( this value, IFormatProvider provider ) : string
value this
provider IFormatProvider
Résultat string

ToString() public static méthode

public static ToString ( this value, int toBase ) : string
value this
toBase int
Résultat string