C# Class BudgetAnalyser.Engine.Statement.BankStatementImporterRepository

Inheritance: IBankStatementImporterRepository
Afficher le fichier Open project: Benrnz/BudgetAnalyser Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

BankStatementImporterRepository() public méthode

Initializes a new instance of the BankStatementImporterRepository class.
public BankStatementImporterRepository ( [ importers ) : System
importers [ The importers.
Résultat System

CanImportAsync() public méthode

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
Résultat Task

ImportAsync() public méthode

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
Résultat Task