Свойство | Type | Description | |
---|---|---|---|
RegexDouble |
Méthode | Description | |
---|---|---|
MatchInt32 ( this @this, int &i, int minValue = int.MinValue, int maxValue = int.MaxValue ) : bool |
Matches Int32 values that must not start with '0' ('0' is valid but '0d', where d is any digit, is not). A signed integer starts with a '-'. '-0' is valid but '-0d' (where d is any digit) is not. If the value is to big for an Int32, it fails.
|
|
TryMatchDoubleValue ( this @this ) : bool |
Matches a double without getting its value nor setting an error if match fails. This uses RegexDouble.
|
|
TryMatchDoubleValue ( this @this, double &value ) : bool |
Matches a double and gets its value. No error is set if match fails.
|
|
TryMatchGuid ( this @this, System.Guid &id ) : bool |
Matches a Guid. No error is set if match fails. Any of the 5 forms of Guid can be matched: |
|
TryMatchJSONQuotedString ( this @this, bool allowNull = false ) : bool |
Matches a quoted string without extracting its content.
|
|
TryMatchJSONQuotedString ( this @this, string &content, bool allowNull = false ) : bool |
Matches a JSON quoted string without setting an error if match fails.
|
|
TryMatchJSONTerminalValue ( this @this ) : bool |
Matches a JSON value: a "string", null, a number (double value), true or false. This method ignores the actual value and does not set any error if match fails.
|
|
TryMatchJSONValue ( this @this, object &value ) : bool |
Matches a JSON value: a "string", null, a number (double value), true or false. Not error is set if match fails.
|
Méthode | Description | |
---|---|---|
ReadHexDigit ( char c ) : int |
public static MatchInt32 ( this @this, int &i, int minValue = int.MinValue, int maxValue = int.MaxValue ) : bool | ||
@this | this | |
i | int | The result integer. 0 on failure. |
minValue | int | Optional minimal value. |
maxValue | int | Optional maximal value. |
Résultat | bool |
public static TryMatchDoubleValue ( this @this ) : bool | ||
@this | this | |
Résultat | bool |
public static TryMatchDoubleValue ( this @this, double &value ) : bool | ||
@this | this | |
value | double | The read value on success. |
Résultat | bool |
public static TryMatchGuid ( this @this, System.Guid &id ) : bool | ||
@this | this | |
id | System.Guid | The result Guid. |
Résultat | bool |
public static TryMatchJSONQuotedString ( this @this, bool allowNull = false ) : bool | ||
@this | this | |
allowNull | bool | True to allow 'null'. |
Résultat | bool |
public static TryMatchJSONQuotedString ( this @this, string &content, bool allowNull = false ) : bool | ||
@this | this | |
content | string | Extracted content. |
allowNull | bool | True to allow 'null'. |
Résultat | bool |
public static TryMatchJSONTerminalValue ( this @this ) : bool | ||
@this | this | |
Résultat | bool |
public static TryMatchJSONValue ( this @this, object &value ) : bool | ||
@this | this | |
value | object | The parsed value. Can be null. |
Résultat | bool |