StringExtensions Type
Extension methods with conversions from strings to other types
Static members
Static member | Description |
|
|
Full Usage:
StringExtensions.AsDateTime(x, ?cultureInfo)
Parameters:
String
?cultureInfo : CultureInfo
Returns: DateTime
|
|
Full Usage:
StringExtensions.AsDateTimeOffset(x, ?cultureInfo)
Parameters:
string
?cultureInfo : CultureInfo
Returns: DateTimeOffset
|
|
Full Usage:
StringExtensions.AsDecimal(x, ?cultureInfo)
Parameters:
String
?cultureInfo : CultureInfo
Returns: decimal
|
|
Full Usage:
StringExtensions.AsFloat(x, ?cultureInfo, ?missingValues)
Parameters:
String
?cultureInfo : CultureInfo
?missingValues : string[]
Returns: float
|
|
|
|
Full Usage:
StringExtensions.AsInteger(x, ?cultureInfo)
Parameters:
String
?cultureInfo : CultureInfo
Returns: int
|
|
Full Usage:
StringExtensions.AsInteger64(x, ?cultureInfo)
Parameters:
String
?cultureInfo : CultureInfo
Returns: int64
|
|
Full Usage:
StringExtensions.AsTimeSpan(x, ?cultureInfo)
Parameters:
String
?cultureInfo : CultureInfo
Returns: TimeSpan
|
|