C# Class Schumix.Framework.Extensions.ConvertExtensions

Datei anzeigen Open project: Schumix/Schumix2

Public Methods

Method 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

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

public static ChangeType ( this value, Type conversionType ) : object
value this
conversionType System.Type
return object

ChangeType() public static method

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

ChangeType() public static method

public static ChangeType ( this value, TypeCode typeCode ) : object
value this
typeCode TypeCode
return object

ChangeType() public static method

public static ChangeType ( this value, TypeCode typeCode, IFormatProvider provider ) : object
value this
typeCode TypeCode
provider IFormatProvider
return object

FromBase64String() public static method

public static FromBase64String ( this s ) : byte[]
s this
return byte[]

GetTypeCode() public static method

public static GetTypeCode ( this value ) : TypeCode
value this
return TypeCode

IsDBNull() public static method

public static IsDBNull ( this value ) : bool
value this
return bool

ToBoolean() public static method

public static ToBoolean ( this value ) : bool
value this
return bool

ToBoolean() public static method

public static ToBoolean ( this value, IFormatProvider provider ) : bool
value this
provider IFormatProvider
return bool

ToByte() public static method

public static ToByte ( this value ) : byte
value this
return byte

ToByte() public static method

public static ToByte ( this value, IFormatProvider provider ) : byte
value this
provider IFormatProvider
return byte

ToByte() public static method

public static ToByte ( this value, int fromBase ) : byte
value this
fromBase int
return byte

ToChar() public static method

public static ToChar ( this value ) : char
value this
return char

ToChar() public static method

public static ToChar ( this value, IFormatProvider provider ) : char
value this
provider IFormatProvider
return char

ToDateTime() public static method

public static ToDateTime ( this value ) : System.DateTime
value this
return System.DateTime

ToDateTime() public static method

public static ToDateTime ( this value, IFormatProvider provider ) : System.DateTime
value this
provider IFormatProvider
return System.DateTime

ToDecimal() public static method

public static ToDecimal ( this value ) : decimal
value this
return decimal

ToDecimal() public static method

public static ToDecimal ( this value, IFormatProvider provider ) : decimal
value this
provider IFormatProvider
return decimal

ToDouble() public static method

public static ToDouble ( this value ) : double
value this
return double

ToDouble() public static method

public static ToDouble ( this value, IFormatProvider provider ) : double
value this
provider IFormatProvider
return double

ToInt16() public static method

public static ToInt16 ( this value ) : short
value this
return short

ToInt16() public static method

public static ToInt16 ( this value, IFormatProvider provider ) : short
value this
provider IFormatProvider
return short

ToInt16() public static method

public static ToInt16 ( this value, int fromBase ) : short
value this
fromBase int
return short

ToInt32() public static method

public static ToInt32 ( this value ) : int
value this
return int

ToInt32() public static method

public static ToInt32 ( this value, IFormatProvider provider ) : int
value this
provider IFormatProvider
return int

ToInt32() public static method

public static ToInt32 ( this value, int fromBase ) : int
value this
fromBase int
return int

ToInt64() public static method

public static ToInt64 ( this value ) : long
value this
return long

ToInt64() public static method

public static ToInt64 ( this value, IFormatProvider provider ) : long
value this
provider IFormatProvider
return long

ToInt64() public static method

public static ToInt64 ( this value, int fromBase ) : long
value this
fromBase int
return long

ToNumber() public static method

public static ToNumber ( this value ) : double
value this
return double

ToNumber() public static method

public static ToNumber ( this value, int Else ) : double
value this
Else int
return double

ToSingle() public static method

public static ToSingle ( this value ) : float
value this
return float

ToSingle() public static method

public static ToSingle ( this value, IFormatProvider provider ) : float
value this
provider IFormatProvider
return float

ToString() public static method

public static ToString ( this value ) : string
value this
return string

ToString() public static method

public static ToString ( this value, IFormatProvider provider ) : string
value this
provider IFormatProvider
return string

ToString() public static method

public static ToString ( this value, int toBase ) : string
value this
toBase int
return string