ReadAllLinesAsync Method
Definition
- Namespace
- Cuemon.Extensions.IO
- Assemblies
- Cuemon.Extensions.IO.dll
ReadAllLinesAsync(TextReader)
Asynchronously reads all lines of characters from the reader and returns the data as a sequence of strings.
public static Task<IReadOnlyList<string>> ReadAllLinesAsync(this TextReader reader)
Parameters
readerTextReaderThe TextReader to extend.
Returns
- Task<IReadOnlyList<string>>
A task that represents the asynchronous operation. The task result contains a IReadOnlyList<T> that contains all lines of characters from the
readerthat contains elements from the input sequence.