public static Task <BucketSettings> GetAsync(this IBucketManager bucketManager, string bucketName, Action <GetBucketOptions> configureOptions) { var options = new GetBucketOptions(); configureOptions(options); return(bucketManager.GetAsync(bucketName, options)); }
public static Task <BucketSettings> GetAsync(this IBucketManager bucketManager, string bucketName) { return(bucketManager.GetAsync(bucketName, GetBucketOptions.Default)); }