ASN1C C# Runtime Library
7.8
|
Inherits IEnumerator.
Public Member Functions | |
bool | HasMoreTokens () |
bool | MoveNext () |
System.String | NextToken () |
System.String | NextToken (System.String delimiters) |
string | RemainingString () |
void | Reset () |
Tokenizer (System.String source) | |
Tokenizer (System.String source, System.String delimiters) | |
Tokenizer (System.String source, System.String delimiters, bool includeDelims) | |
Properties | |
int | Count [get] |
System.Object | Current [get] |
The class performs token processing in strings
Tokenizer | ( | System.String | source | ) |
Initializes a new class instance with a specified string to process
source | String to tokenize |
Tokenizer | ( | System.String | source, |
System.String | delimiters | ||
) |
Initializes a new class instance with a specified string to process and the specified token delimiters to use
source | String to tokenize |
delimiters | String containing the delimiters |
Tokenizer | ( | System.String | source, |
System.String | delimiters, | ||
bool | includeDelims | ||
) |
Initializes a new class instance with a specified string to process, the specified token delimiters to use, and whether the delimiters must be included in the results.
source | String to tokenize |
delimiters | String containing the delimiters |
includeDelims | Determines if delimiters are included in the results. |
bool HasMoreTokens | ( | ) |
Determines if there are more tokens to return from the source string
Referenced by Asn1Util.GetAddressBytes().
bool MoveNext | ( | ) |
Performs the same action as HasMoreTokens.
System.String NextToken | ( | ) |
Returns the next token from the token list
Referenced by Asn1Util.GetAddressBytes().
System.String NextToken | ( | System.String | delimiters | ) |
Returns the next token from the source string, using the provided token delimiters
delimiters | String containing the delimiters to use |
string RemainingString | ( | ) |
Returns the rest of the string from current position.
void Reset | ( | ) |
Does nothing.
|
get |
Remaining tokens count
|
get |
Performs the same action as NextToken.