示例#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());