Beispiel #1
0
        public Task <bool> DeleteFileAsync(string path, CancellationToken cancellationToken = default)
        {
            if (String.IsNullOrEmpty(path))
            {
                throw new ArgumentNullException(nameof(path));
            }

            return(UnscopedStorage.DeleteFileAsync(String.Concat(_pathPrefix, path), cancellationToken));
        }
Beispiel #2
0
 public Task <bool> DeleteFileAsync(string path, CancellationToken cancellationToken = new CancellationToken())
 {
     return(UnscopedStorage.DeleteFileAsync(String.Concat(_pathPrefix, path), cancellationToken));
 }