C# 클래스 BudgetAnalyser.Engine.Statement.AnzAccountStatementImporterV1

상속: IBankStatementImporter
파일 보기 프로젝트 열기: Benrnz/BudgetAnalyser

공개 메소드들

메소드 설명
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