private async Task <string> ReadFileAsStringAsync(IFileInput source, string path) { using (var inputStream = await source.OpenStreamAsync(path)) using (var streamReader = new StreamReader(inputStream)) { return(streamReader.ReadToEnd()); } }
private async Task <string> ReadFileAsStringAsync(IFileInput source, string path) { using (var inputStream = await source.OpenStreamAsync(path)) using (var streamReader = new StreamReader(inputStream)) { return(streamReader.ReadToEnd()); } }