Esempio n. 1
0
        public static Task CreateBucketAsync(this IBucketManager bucketManager, BucketSettings settings, Action <CreateBucketOptions> configureOptions)
        {
            var options = new CreateBucketOptions();

            configureOptions(options);

            return(bucketManager.CreateBucketAsync(settings, options));
        }
Esempio n. 2
0
 public static Task CreateBucketAsync(this IBucketManager bucketManager, BucketSettings settings)
 {
     return(bucketManager.CreateBucketAsync(settings, CreateBucketOptions.Default));
 }