コード例 #1
0
 public Stream Open(FileMode fileMode, FileAccess fileAccess, FileShare fileShare) =>
 LocalFileProvider.Retry(() => _file.Open(fileMode, fileAccess, fileShare));
コード例 #2
0
 public Stream OpenWrite() =>
 LocalFileProvider.Retry(() => _file.OpenWrite());
コード例 #3
0
 public string ReadAllText() =>
 LocalFileProvider.Retry(() => File.ReadAllText(_file.FullName));
コード例 #4
0
 public Stream OpenRead() =>
 LocalFileProvider.Retry(() => _file.OpenRead());
コード例 #5
0
 public void Delete() => LocalFileProvider.Retry(() => _file.Delete());