Method | Description | |
---|---|---|
DoubleCurlyBraces ( this value ) : string |
Doubles the curly braces in the string.
|
|
GetBaseType ( this type ) : |
Gets the base type of the given type Simplify port to .Net Core |
|
ImplementsEquals ( this type ) : bool |
Determines whether the specified type implements Equals.
|
|
IsNullable ( this type ) : bool |
Determines whether the specified type is nullable.
|
|
IsNumerical ( |
Checks if a type is numerical (i.e: int, double, short, uint...)
|
|
ToStringProperlyFormated ( this theObject ) : string |
Returns a string that represents the current object. If the object is already a string, this method will surround it with brackets.
|
|
TypeToStringProperlyFormated ( this type, bool shortName = false ) : string |
Returns a string with the type name, as seen in source code.
|
Method | Description | |
---|---|---|
TruncateLongString ( string result ) : string |
public static DoubleCurlyBraces ( this value ) : string | ||
value | this | String to correct. |
return | string |
public static GetBaseType ( this type ) : |
||
type | this | Type |
return |
public static ImplementsEquals ( this type ) : bool | ||
type | this | The type to be analyzed. |
return | bool |
public static IsNullable ( this type ) : bool | ||
type | this | /// The type to be evaluated. /// |
return | bool |
public static IsNumerical ( |
||
type | ||
return | bool |
public static ToStringProperlyFormated ( this theObject ) : string | ||
theObject | this | The theObject. |
return | string |
public static TypeToStringProperlyFormated ( this type, bool shortName = false ) : string | ||
type | this | /// The type to get the name of. /// |
shortName | bool |
/// If set to |
return | string |