C# Класс BudgetAnalyser.Engine.Statement.AnzAccountStatementImporterV1

Наследование: IBankStatementImporter
Показать файл Открыть проект

Открытые методы

Метод Описание
AnzAccountStatementImporterV1 ( [ importUtilities, [ logger, [ readerWriterSelector ) : System

Initializes a new instance of the AnzAccountStatementImporterV1 class.

LoadAsync ( string fileName, Account account ) : Task

Load the given file into a StatementModel.

TasteTestAsync ( string fileName ) : Task

Test the given file to see if this importer implementation can read and import it. This will open and read some of the contents of the file.

Защищенные методы

Метод Описание
ReadLinesAsync ( string fileName ) : Task>

Reads the lines from the file asynchronously.

ReadTextChunkAsync ( string filePath ) : Task

Reads a chunk of text asynchronously.

Приватные методы

Метод Описание
FetchTransactionType ( string array, decimal amount ) : TransactionType
ReadFirstTwoLinesAsync ( string fileName ) : Task
VerifyColumnHeaderLine ( string line ) : bool
VerifyFirstDataLine ( string line ) : bool

Описание методов

AnzAccountStatementImporterV1() публичный Метод

Initializes a new instance of the AnzAccountStatementImporterV1 class.
///
public AnzAccountStatementImporterV1 ( [ importUtilities, [ logger, [ readerWriterSelector ) : System
importUtilities [
logger [
readerWriterSelector [
Результат System

LoadAsync() публичный Метод

Load the given file into a StatementModel.
public LoadAsync ( string fileName, Account account ) : Task
fileName string The file to load.
account BudgetAnalyser.Engine.BankAccount.Account /// The account to classify these transactions. This is useful when merging one statement to another. For example, /// merging a cheque account export with visa account export, each can be classified using an account. ///
Результат Task

ReadLinesAsync() защищенный Метод

Reads the lines from the file asynchronously.
protected ReadLinesAsync ( string fileName ) : Task>
fileName string
Результат Task>

ReadTextChunkAsync() защищенный Метод

Reads a chunk of text asynchronously.
protected ReadTextChunkAsync ( string filePath ) : Task
filePath string
Результат Task

TasteTestAsync() публичный Метод

Test the given file to see if this importer implementation can read and import it. This will open and read some of the contents of the file.
public TasteTestAsync ( string fileName ) : Task
fileName string
Результат Task