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

상속: IBankStatementImporterRepository
파일 보기 프로젝트 열기: Benrnz/BudgetAnalyser 1 사용 예제들

공개 메소드들

메소드 설명
BankStatementImporterRepository ( [ importers ) : System

Initializes a new instance of the BankStatementImporterRepository class.

CanImportAsync ( string fullFileName ) : Task

Can any importer in this repository read and import the given file. Calling this method will open the file and read some of its contents.

ImportAsync ( string fullFileName, Account account ) : Task

Import the given file. It is recommended to call IBankStatementImporterRepository.CanImportAsync first. If the file cannot be imported by any of this repositories importers a NotSupportedException will be thrown.

메소드 상세

BankStatementImporterRepository() 공개 메소드

Initializes a new instance of the BankStatementImporterRepository class.
public BankStatementImporterRepository ( [ importers ) : System
importers [ The importers.
리턴 System

CanImportAsync() 공개 메소드

Can any importer in this repository read and import the given file. Calling this method will open the file and read some of its contents.
public CanImportAsync ( string fullFileName ) : Task
fullFileName string
리턴 Task

ImportAsync() 공개 메소드

Import the given file. It is recommended to call IBankStatementImporterRepository.CanImportAsync first. If the file cannot be imported by any of this repositories importers a NotSupportedException will be thrown.
public ImportAsync ( string fullFileName, Account account ) : Task
fullFileName string
account BudgetAnalyser.Engine.BankAccount.Account
리턴 Task