public static Task CreateBucketAsync(this IBucketManager bucketManager, BucketSettings settings, Action <CreateBucketOptions> configureOptions) { var options = new CreateBucketOptions(); configureOptions(options); return(bucketManager.CreateBucketAsync(settings, options)); }
public static Task CreateBucketAsync(this IBucketManager bucketManager, BucketSettings settings) { return(bucketManager.CreateBucketAsync(settings, CreateBucketOptions.Default)); }