Class OFXTokenReader
- Namespace
- Tudormobile.QIFLibrary
- Assembly
- Tudormobile.QIFLibrary.dll
Provides mechanism for reading OFX data into tokens.
public class OFXTokenReader
- Inheritance
-
OFXTokenReader
- Inherited Members
Remarks
Limitation: tokens cannot exceed 4k.
Constructors
OFXTokenReader(TextReader)
Create and initialize a new instance.
public OFXTokenReader(TextReader reader)
Parameters
readerTextReaderText reader to use as the data source.
Properties
IgnoreWhiteSpace
True to ignore whitespace tokens.
public bool IgnoreWhiteSpace { get; set; }
Property Value
Remarks
The default value is (false). This value can be changed anytime and affects both Peek() and Read() methods.
Methods
Peek()
Previews the next token without consuming it.
public OFXTokenReader.OFXToken Peek()
Returns
- OFXTokenReader.OFXToken
A preview of the next token.
Read()
Reads the next token.
public OFXTokenReader.OFXToken Read()
Returns
- OFXTokenReader.OFXToken
The next token.
ReadAsync()
Reads a token asynchronously.
public Task<OFXTokenReader.OFXToken> ReadAsync()
Returns
- Task<OFXTokenReader.OFXToken>
A Task that represents the read operation.
ReadTokensAsync()
Reads tokens asynchronously.
public IAsyncEnumerable<OFXTokenReader.OFXToken> ReadTokensAsync()
Returns
- IAsyncEnumerable<OFXTokenReader.OFXToken>
A task that represents the asynchronous read operation.