public FileSystemStorageService(IOptions <StorageOptions> options) { _options = options.Value; this.CreateRootDirectoryIfNotExist(); }
/// <summary> /// /// </summary> /// <param name="options"></param> public MinioStorageService(IOptions <StorageOptions> options) { _options = options.Value; this._client = new MinioClient(_options.Host, _options.Key, _options.Secret); }
public BlobStorageService(IOptions <StorageOptions> options) { _options = options.Value; this._client = CloudStorageAccount.Parse(_options.Host).CreateCloudBlobClient(); }