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

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

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

Метод Описание
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