Static members for type handling.
- Namespace
- Songhay
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["ProgramTypeUtility"]
class Type type-node
Syntax
public static class ProgramTypeUtility
Remarks
Most of the Parse methods were originally meant
for unboxing values from XML documents.
Methods
Name | Return Value | Summary |
---|---|---|
Convert |
DateTime |
Converts Unix time stamps
to
DateTime .
static
|
Convert |
string |
Converts the specified
DateTime to RFC3339.
static
|
Convert |
string |
/// Converts the specified
DateTime to RFC822.
static
|
Convert |
double |
Converts the current time
to a Unix time stamp.
static
|
Convert |
double |
Converts a
DateTime
to a Unix time stamp.
static
|
ConvertDateTimeToUtc |
string |
Converts a
DateTime
to UTC (ISO 8601).
static
|
Convert |
float |
Converts inches as a
Single
to points.
static
|
Convert |
float |
Converts points as a
Single
to inches.
static
|
Generate |
string |
Generates the random password.
static
|
Is |
bool |
Returns
true when the specified value
is an empty array, not an array or null.
static
|
IsNullOrEmptyString |
bool |
Returns
true when the specified value
is null or String.Empty .
static
|
ParseBoolean |
bool? |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseBoolean |
bool? |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseBoolean |
bool? |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseByte |
byte? |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseByte |
byte? |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseDateTime |
DateTime? |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseDateTime |
DateTime? |
Tries to convert the specified value
to the
Nullable return type.
static
|
Parse |
string |
Tries to convert the specified value
to the
Nullable return type.
static
|
Parse |
string |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseDecimal |
decimal? |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseDecimal |
decimal? |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseDouble |
double? |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseDouble |
double? |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseEnum |
TEnum |
Tries to convert the specified value
to the
Enum return type.
static
|
ParseInt16 |
Int16? |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseInt16 |
Int16? |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseInt32 |
Int32? |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseInt32 |
Int32? |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseInt64 |
Int64? |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseInt64 |
Int64? |
Tries to convert the specified value
to the
Nullable return type.
static
|
ParseRfc3339DateTime |
DateTime |
Parses the RFC3339 date and time.
static
|
ParseRfc822DateTime |
DateTime |
Parses the RFC822 date and time.
static
|
ParseString |
string |
Tries to convert the specified value
to a
String .
static
|
ParseString |
string |
Tries to convert the specified value
to a
String .
static
|
SqlDatabaseNull |
DBNull |
Returns the conventional database null
(
DBNull )
for Microsoft SQL Server systems.
static
|
Try |
bool |
Tries the parse RFC3339 date and time.
static
|
Try |
bool |
Tries the parse RFC822 date and time.
static
|