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; }
public static YandexStorageService CreateYandexObjectService(this YandexStorageOptions options) { return(new YandexStorageService(options)); }