Method | Description | |
---|---|---|
GetConcreteTypeIfNullable ( this type ) : |
Gets the specified type's concrete type of it is an instance of Nullable{T}. If the type is not null-able, it is returned as-is.
|
|
IsAscii ( this value ) : bool |
Gets a value indicating whether the given string is all ASCII.
|
|
IsCollection ( this type ) : bool |
Gets a value indicating whether the specified type is a collection type.
|
|
IsDefaultValue ( this type, object value ) : bool |
Gets a value indicating whether the given value is the default value for the specified type.
|
|
IsPrimitiveOrEnum ( this type ) : bool |
Gets a value indicating whether the specified type is an enum or primitive or semi-primitive (e.g., string) type.
|
|
ToBinaryString ( this value ) : string |
Converts the given value into its binary representation as a string.
|
public static GetConcreteTypeIfNullable ( this type ) : |
||
type | this | The type to get the concrete type of. |
return |
public static IsAscii ( this value ) : bool | ||
value | this | The string to check. |
return | bool |
public static IsCollection ( this type ) : bool | ||
type | this | The type to check. |
return | bool |
public static IsDefaultValue ( this type, object value ) : bool | ||
type | this | The type to check the value against. |
value | object | The value to check. |
return | bool |
public static IsPrimitiveOrEnum ( this type ) : bool | ||
type | this | The type to check. |
return | bool |
public static ToBinaryString ( this value ) : string | ||
value | this | The value to convert. |
return | string |