| Flags | Name | Summary |
|---|---|---|
| public | PrimitiveParser()
|
(undocumented) |
| Flags | Name | Summary |
|---|---|---|
| public static | void InvalidConversion(string target, object source)
|
Causes ProtocolViolationException to be thrown; called by the various "Parse*" methods when a syntax error is detected. |
| public static | bool ParseBool(string value)
|
Attempt to parse a string representation of a bool. |
| public static | byte ParseByte(string value)
|
Attempt to parse a string representation of a byte. |
| public static | double ParseDouble(string value)
|
Attempt to parse a string representation of a double. |
| public static | single ParseFloat(string value)
|
Attempt to parse a string representation of a float. |
| public static | int ParseInt(string value)
|
Attempt to parse a string representation of an int. |
| public static | long ParseLong(string value)
|
Attempt to parse a string representation of a long. |
| public static | short ParseShort(string value)
|
Attempt to parse a string representation of a short. |
public static void InvalidConversion(string target, object source)
| Flags | public static | ||||||
|---|---|---|---|---|---|---|---|
| Return type | |
||||||
| Parameters |
|
public static bool ParseBool(string value)
| Flags | public static | ||||
|---|---|---|---|---|---|
| Return type | |
||||
| Parameters |
|
public static byte ParseByte(string value)
| Flags | public static | ||||
|---|---|---|---|---|---|
| Return type | |
||||
| Parameters |
|
public static double ParseDouble(string value)
| Flags | public static | ||||
|---|---|---|---|---|---|
| Return type | |
||||
| Parameters |
|
public static single ParseFloat(string value)
| Flags | public static | ||||
|---|---|---|---|---|---|
| Return type | |
||||
| Parameters |
|
public static int ParseInt(string value)
| Flags | public static | ||||
|---|---|---|---|---|---|
| Return type | |
||||
| Parameters |
|