Exemplo n.º 1
0
 public YandexStorageService(YandexStorageOptions options)
 {
     _protocol   = options.Protocol;
     _bucketName = options.BucketName;
     _location   = options.Location;
     _endpoint   = options.Endpoint;
     _accessKey  = options.AccessKey;
     _secretKey  = options.SecretKey;
     _hostName   = options.HostName;
 }
Exemplo n.º 2
0
 public static YandexStorageService CreateYandexObjectService(this YandexStorageOptions options)
 {
     return(new YandexStorageService(options));
 }