BudgetAnalyser.Engine.Statement.BankStatementImporterRepository.CanImportAsync C# (CSharp) Метод

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
        public async Task<bool> CanImportAsync(string fullFileName)
        {
            foreach (var importer in this.importers)
            {
                if (await importer.TasteTestAsync(fullFileName))
                {
                    return true;
                }
            }

            return false;
        }