Пример #1
0
 public string AddFile(string path, Stream data, NameValueCollection userMetadata)
 {
     //path = DfsHelper.ParseToDfsPath(path, _appConfig.BucketName);
     path = new DfsPath(_appConfig.ApplicationName, _appConfig.BucketName, path).ToString();
     return(_service.AddFile(path, data, userMetadata));
 }
Пример #2
0
 public string AddFile(string path, Stream content)
 {
     return(_storage.AddFile(path, content));
 }