Exemple #1
0
 /// <summary>
 /// Reads the file to the end as a string
 /// </summary>
 /// <returns>A string containing the contents of the file</returns>
 public Task <string> ReadAsync()
 {
     if (InternalFile is null)
     {
         return(Task.FromResult(string.Empty));
     }
     return(InternalFile.ReadAsync());
 }