예제 #1
0
 public Task<IRemoteFile> GetFile(string name)
 {
     return Task.Run(() =>
     {
         IRemoteFile file = new LocalFile(Path.Combine(_path, name));
         return file;
     });
 }
예제 #2
0
 public Task <IRemoteFile> GetFile(string name)
 {
     return(Task.Run(() =>
     {
         IRemoteFile file = new LocalFile(Path.Combine(_path, name));
         return file;
     }));
 }