Méthode | 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.
|
Méthode | Description | |
---|---|---|
TruncateLongString ( string result ) : string |
public static DoubleCurlyBraces ( this value ) : string | ||
value | this | String to correct. |
Résultat | string |
public static GetBaseType ( this type ) : |
||
type | this | Type |
Résultat |
public static ImplementsEquals ( this type ) : bool | ||
type | this | The type to be analyzed. |
Résultat | bool |
public static IsNullable ( this type ) : bool | ||
type | this | /// The type to be evaluated. /// |
Résultat | bool |
public static IsNumerical ( |
||
type | ||
Résultat | bool |
public static ToStringProperlyFormated ( this theObject ) : string | ||
theObject | this | The theObject. |
Résultat | string |
public static TypeToStringProperlyFormated ( this type, bool shortName = false ) : string | ||
type | this | /// The type to get the name of. /// |
shortName | bool |
/// If set to |
Résultat | string |