C# Class Source.Extensions.ParseExtensions

Mostra file Open project: mrange/T4Include

Public Methods

Method Description
CanParse ( this type ) : bool
GetParsedDefaultValue ( this type ) : object
Parse ( this s, System.Boolean defaultValue ) : System.Boolean
Parse ( this s, CultureInfo cultureInfo, System.Boolean defaultValue ) : System.Boolean
Parse ( this s, Byte defaultValue ) : Byte
Parse ( this s, CultureInfo cultureInfo, Byte defaultValue ) : Byte
Parse ( this s, Char defaultValue ) : Char
Parse ( this s, CultureInfo cultureInfo, Char defaultValue ) : Char
Parse ( this s, CultureInfo cultureInfo, System.DateTime defaultValue ) : System.DateTime
Parse ( this s, System.DateTime defaultValue ) : System.DateTime
Parse ( this s, CultureInfo cultureInfo, Decimal defaultValue ) : Decimal
Parse ( this s, Decimal defaultValue ) : Decimal
Parse ( this s, CultureInfo cultureInfo, Double defaultValue ) : Double
Parse ( this s, Double defaultValue ) : Double
Parse ( this s, CultureInfo cultureInfo, Int16 defaultValue ) : Int16
Parse ( this s, Int16 defaultValue ) : Int16
Parse ( this s, CultureInfo cultureInfo, Int32 defaultValue ) : Int32
Parse ( this s, Int32 defaultValue ) : Int32
Parse ( this s, CultureInfo cultureInfo, System.Int64 defaultValue ) : System.Int64
Parse ( this s, System.Int64 defaultValue ) : System.Int64
Parse ( this s, CultureInfo cultureInfo, SByte defaultValue ) : SByte
Parse ( this s, SByte defaultValue ) : SByte
Parse ( this s, CultureInfo cultureInfo, System.Single defaultValue ) : System.Single
Parse ( this s, System.Single defaultValue ) : System.Single
Parse ( this s, CultureInfo cultureInfo, System.TimeSpan defaultValue ) : System.TimeSpan
Parse ( this s, System.TimeSpan defaultValue ) : System.TimeSpan
Parse ( this s, CultureInfo cultureInfo, UInt16 defaultValue ) : UInt16
Parse ( this s, UInt16 defaultValue ) : UInt16
Parse ( this s, CultureInfo cultureInfo, UInt32 defaultValue ) : UInt32
Parse ( this s, UInt32 defaultValue ) : UInt32
Parse ( this s, CultureInfo cultureInfo, System.UInt64 defaultValue ) : System.UInt64
Parse ( this s, System.UInt64 defaultValue ) : System.UInt64
Parse ( this s, CultureInfo cultureInfo, Type type, object defaultValue ) : object
Parse ( this s, Type type, object defaultValue ) : object
TryParse ( this s, System.Boolean &value ) : bool
TryParse ( this s, Byte &value ) : bool
TryParse ( this s, Char &value ) : bool
TryParse ( this s, CultureInfo cultureInfo, System.Boolean &value ) : bool
TryParse ( this s, CultureInfo cultureInfo, Byte &value ) : bool
TryParse ( this s, CultureInfo cultureInfo, Char &value ) : bool
TryParse ( this s, CultureInfo cultureInfo, System.DateTime &value ) : bool
TryParse ( this s, CultureInfo cultureInfo, Decimal &value ) : bool
TryParse ( this s, CultureInfo cultureInfo, Double &value ) : bool
TryParse ( this s, CultureInfo cultureInfo, Int16 &value ) : bool
TryParse ( this s, CultureInfo cultureInfo, Int32 &value ) : bool
TryParse ( this s, CultureInfo cultureInfo, System.Int64 &value ) : bool
TryParse ( this s, CultureInfo cultureInfo, SByte &value ) : bool
TryParse ( this s, CultureInfo cultureInfo, System.Single &value ) : bool
TryParse ( this s, CultureInfo cultureInfo, System.TimeSpan &value ) : bool
TryParse ( this s, CultureInfo cultureInfo, Type type, object &value ) : bool
TryParse ( this s, CultureInfo cultureInfo, UInt16 &value ) : bool
TryParse ( this s, CultureInfo cultureInfo, UInt32 &value ) : bool
TryParse ( this s, CultureInfo cultureInfo, System.UInt64 &value ) : bool
TryParse ( this s, System.DateTime &value ) : bool
TryParse ( this s, Decimal &value ) : bool
TryParse ( this s, Double &value ) : bool
TryParse ( this s, Int16 &value ) : bool
TryParse ( this s, Int32 &value ) : bool
TryParse ( this s, System.Int64 &value ) : bool
TryParse ( this s, SByte &value ) : bool
TryParse ( this s, System.Single &value ) : bool
TryParse ( this s, System.TimeSpan &value ) : bool
TryParse ( this s, Type type, object &value ) : bool
TryParse ( this s, UInt16 &value ) : bool
TryParse ( this s, UInt32 &value ) : bool
TryParse ( this s, System.UInt64 &value ) : bool

Method Details

CanParse() public static method

public static CanParse ( this type ) : bool
type this
return bool

GetParsedDefaultValue() public static method

public static GetParsedDefaultValue ( this type ) : object
type this
return object

Parse() public static method

public static Parse ( this s, System.Boolean defaultValue ) : System.Boolean
s this
defaultValue System.Boolean
return System.Boolean

Parse() public static method

public static Parse ( this s, CultureInfo cultureInfo, System.Boolean defaultValue ) : System.Boolean
s this
cultureInfo System.Globalization.CultureInfo
defaultValue System.Boolean
return System.Boolean

Parse() public static method

public static Parse ( this s, Byte defaultValue ) : Byte
s this
defaultValue Byte
return Byte

Parse() public static method

public static Parse ( this s, CultureInfo cultureInfo, Byte defaultValue ) : Byte
s this
cultureInfo System.Globalization.CultureInfo
defaultValue Byte
return Byte

Parse() public static method

public static Parse ( this s, Char defaultValue ) : Char
s this
defaultValue Char
return Char

Parse() public static method

public static Parse ( this s, CultureInfo cultureInfo, Char defaultValue ) : Char
s this
cultureInfo System.Globalization.CultureInfo
defaultValue Char
return Char

Parse() public static method

public static Parse ( this s, CultureInfo cultureInfo, System.DateTime defaultValue ) : System.DateTime
s this
cultureInfo System.Globalization.CultureInfo
defaultValue System.DateTime
return System.DateTime

Parse() public static method

public static Parse ( this s, System.DateTime defaultValue ) : System.DateTime
s this
defaultValue System.DateTime
return System.DateTime

Parse() public static method

public static Parse ( this s, CultureInfo cultureInfo, Decimal defaultValue ) : Decimal
s this
cultureInfo System.Globalization.CultureInfo
defaultValue Decimal
return Decimal

Parse() public static method

public static Parse ( this s, Decimal defaultValue ) : Decimal
s this
defaultValue Decimal
return Decimal

Parse() public static method

public static Parse ( this s, CultureInfo cultureInfo, Double defaultValue ) : Double
s this
cultureInfo System.Globalization.CultureInfo
defaultValue Double
return Double

Parse() public static method

public static Parse ( this s, Double defaultValue ) : Double
s this
defaultValue Double
return Double

Parse() public static method

public static Parse ( this s, CultureInfo cultureInfo, Int16 defaultValue ) : Int16
s this
cultureInfo System.Globalization.CultureInfo
defaultValue System.Int16
return System.Int16

Parse() public static method

public static Parse ( this s, Int16 defaultValue ) : Int16
s this
defaultValue System.Int16
return System.Int16

Parse() public static method

public static Parse ( this s, CultureInfo cultureInfo, Int32 defaultValue ) : Int32
s this
cultureInfo System.Globalization.CultureInfo
defaultValue System.Int32
return System.Int32

Parse() public static method

public static Parse ( this s, Int32 defaultValue ) : Int32
s this
defaultValue System.Int32
return System.Int32

Parse() public static method

public static Parse ( this s, CultureInfo cultureInfo, System.Int64 defaultValue ) : System.Int64
s this
cultureInfo System.Globalization.CultureInfo
defaultValue System.Int64
return System.Int64

Parse() public static method

public static Parse ( this s, System.Int64 defaultValue ) : System.Int64
s this
defaultValue System.Int64
return System.Int64

Parse() public static method

public static Parse ( this s, CultureInfo cultureInfo, SByte defaultValue ) : SByte
s this
cultureInfo System.Globalization.CultureInfo
defaultValue SByte
return SByte

Parse() public static method

public static Parse ( this s, SByte defaultValue ) : SByte
s this
defaultValue SByte
return SByte

Parse() public static method

public static Parse ( this s, CultureInfo cultureInfo, System.Single defaultValue ) : System.Single
s this
cultureInfo System.Globalization.CultureInfo
defaultValue System.Single
return System.Single

Parse() public static method

public static Parse ( this s, System.Single defaultValue ) : System.Single
s this
defaultValue System.Single
return System.Single

Parse() public static method

public static Parse ( this s, CultureInfo cultureInfo, System.TimeSpan defaultValue ) : System.TimeSpan
s this
cultureInfo System.Globalization.CultureInfo
defaultValue System.TimeSpan
return System.TimeSpan

Parse() public static method

public static Parse ( this s, System.TimeSpan defaultValue ) : System.TimeSpan
s this
defaultValue System.TimeSpan
return System.TimeSpan

Parse() public static method

public static Parse ( this s, CultureInfo cultureInfo, UInt16 defaultValue ) : UInt16
s this
cultureInfo System.Globalization.CultureInfo
defaultValue System.UInt16
return System.UInt16

Parse() public static method

public static Parse ( this s, UInt16 defaultValue ) : UInt16
s this
defaultValue System.UInt16
return System.UInt16

Parse() public static method

public static Parse ( this s, CultureInfo cultureInfo, UInt32 defaultValue ) : UInt32
s this
cultureInfo System.Globalization.CultureInfo
defaultValue System.UInt32
return System.UInt32

Parse() public static method

public static Parse ( this s, UInt32 defaultValue ) : UInt32
s this
defaultValue System.UInt32
return System.UInt32

Parse() public static method

public static Parse ( this s, CultureInfo cultureInfo, System.UInt64 defaultValue ) : System.UInt64
s this
cultureInfo System.Globalization.CultureInfo
defaultValue System.UInt64
return System.UInt64

Parse() public static method

public static Parse ( this s, System.UInt64 defaultValue ) : System.UInt64
s this
defaultValue System.UInt64
return System.UInt64

Parse() public static method

public static Parse ( this s, CultureInfo cultureInfo, Type type, object defaultValue ) : object
s this
cultureInfo System.Globalization.CultureInfo
type System.Type
defaultValue object
return object

Parse() public static method

public static Parse ( this s, Type type, object defaultValue ) : object
s this
type System.Type
defaultValue object
return object

TryParse() public static method

public static TryParse ( this s, System.Boolean &value ) : bool
s this
value System.Boolean
return bool

TryParse() public static method

public static TryParse ( this s, Byte &value ) : bool
s this
value Byte
return bool

TryParse() public static method

public static TryParse ( this s, Char &value ) : bool
s this
value Char
return bool

TryParse() public static method

public static TryParse ( this s, CultureInfo cultureInfo, System.Boolean &value ) : bool
s this
cultureInfo System.Globalization.CultureInfo
value System.Boolean
return bool

TryParse() public static method

public static TryParse ( this s, CultureInfo cultureInfo, Byte &value ) : bool
s this
cultureInfo System.Globalization.CultureInfo
value Byte
return bool

TryParse() public static method

public static TryParse ( this s, CultureInfo cultureInfo, Char &value ) : bool
s this
cultureInfo System.Globalization.CultureInfo
value Char
return bool

TryParse() public static method

public static TryParse ( this s, CultureInfo cultureInfo, System.DateTime &value ) : bool
s this
cultureInfo System.Globalization.CultureInfo
value System.DateTime
return bool

TryParse() public static method

public static TryParse ( this s, CultureInfo cultureInfo, Decimal &value ) : bool
s this
cultureInfo System.Globalization.CultureInfo
value Decimal
return bool

TryParse() public static method

public static TryParse ( this s, CultureInfo cultureInfo, Double &value ) : bool
s this
cultureInfo System.Globalization.CultureInfo
value Double
return bool

TryParse() public static method

public static TryParse ( this s, CultureInfo cultureInfo, Int16 &value ) : bool
s this
cultureInfo System.Globalization.CultureInfo
value System.Int16
return bool

TryParse() public static method

public static TryParse ( this s, CultureInfo cultureInfo, Int32 &value ) : bool
s this
cultureInfo System.Globalization.CultureInfo
value System.Int32
return bool

TryParse() public static method

public static TryParse ( this s, CultureInfo cultureInfo, System.Int64 &value ) : bool
s this
cultureInfo System.Globalization.CultureInfo
value System.Int64
return bool

TryParse() public static method

public static TryParse ( this s, CultureInfo cultureInfo, SByte &value ) : bool
s this
cultureInfo System.Globalization.CultureInfo
value SByte
return bool

TryParse() public static method

public static TryParse ( this s, CultureInfo cultureInfo, System.Single &value ) : bool
s this
cultureInfo System.Globalization.CultureInfo
value System.Single
return bool

TryParse() public static method

public static TryParse ( this s, CultureInfo cultureInfo, System.TimeSpan &value ) : bool
s this
cultureInfo System.Globalization.CultureInfo
value System.TimeSpan
return bool

TryParse() public static method

public static TryParse ( this s, CultureInfo cultureInfo, Type type, object &value ) : bool
s this
cultureInfo System.Globalization.CultureInfo
type System.Type
value object
return bool

TryParse() public static method

public static TryParse ( this s, CultureInfo cultureInfo, UInt16 &value ) : bool
s this
cultureInfo System.Globalization.CultureInfo
value System.UInt16
return bool

TryParse() public static method

public static TryParse ( this s, CultureInfo cultureInfo, UInt32 &value ) : bool
s this
cultureInfo System.Globalization.CultureInfo
value System.UInt32
return bool

TryParse() public static method

public static TryParse ( this s, CultureInfo cultureInfo, System.UInt64 &value ) : bool
s this
cultureInfo System.Globalization.CultureInfo
value System.UInt64
return bool

TryParse() public static method

public static TryParse ( this s, System.DateTime &value ) : bool
s this
value System.DateTime
return bool

TryParse() public static method

public static TryParse ( this s, Decimal &value ) : bool
s this
value Decimal
return bool

TryParse() public static method

public static TryParse ( this s, Double &value ) : bool
s this
value Double
return bool

TryParse() public static method

public static TryParse ( this s, Int16 &value ) : bool
s this
value System.Int16
return bool

TryParse() public static method

public static TryParse ( this s, Int32 &value ) : bool
s this
value System.Int32
return bool

TryParse() public static method

public static TryParse ( this s, System.Int64 &value ) : bool
s this
value System.Int64
return bool

TryParse() public static method

public static TryParse ( this s, SByte &value ) : bool
s this
value SByte
return bool

TryParse() public static method

public static TryParse ( this s, System.Single &value ) : bool
s this
value System.Single
return bool

TryParse() public static method

public static TryParse ( this s, System.TimeSpan &value ) : bool
s this
value System.TimeSpan
return bool

TryParse() public static method

public static TryParse ( this s, Type type, object &value ) : bool
s this
type System.Type
value object
return bool

TryParse() public static method

public static TryParse ( this s, UInt16 &value ) : bool
s this
value System.UInt16
return bool

TryParse() public static method

public static TryParse ( this s, UInt32 &value ) : bool
s this
value System.UInt32
return bool

TryParse() public static method

public static TryParse ( this s, System.UInt64 &value ) : bool
s this
value System.UInt64
return bool