예제 #1
0
 public Task<IRemoteDirectory> GetDirectory(string name)
 {
     return Task.Run(() =>
     {
         IRemoteDirectory directory = new LocalDirectory(Path.Combine(_path, name));
         return directory;
     });
 }
예제 #2
0
 public Task <IRemoteDirectory> GetDirectory(string name)
 {
     return(Task.Run(() =>
     {
         IRemoteDirectory directory = new LocalDirectory(Path.Combine(_path, name));
         return directory;
     }));
 }