BudgetAnalyser.Engine.Statement.CsvOnDiskStatementModelRepositoryV1.ReadLinesAsync C# (CSharp) Method

ReadLinesAsync() protected method

Reads the lines from the file asynchronously.
protected ReadLinesAsync ( string fileName, bool isEncrypted ) : Task>
fileName string
isEncrypted bool
return Task>
        protected virtual async Task<IEnumerable<string>> ReadLinesAsync(string fileName, bool isEncrypted)
        {
            var reader = this.readerWriterSelector.SelectReaderWriter(isEncrypted); 
            var allText = await reader.LoadFromDiskAsync(fileName);
            return allText.SplitLines();
        }

Same methods

CsvOnDiskStatementModelRepositoryV1::ReadLinesAsync ( string fileName, int lines, bool isEncrypted ) : Task>