Ejemplo n.º 1
0
        public static Task DropBucketAsync(this IBucketManager bucketManager, string bucketName, Action <DropBucketOptions> configureOptions)
        {
            var options = new DropBucketOptions();

            configureOptions(options);

            return(bucketManager.DropBucketAsync(bucketName, options));
        }
Ejemplo n.º 2
0
 public static Task DropBucketAsync(this IBucketManager bucketManager, string bucketName)
 {
     return(bucketManager.DropBucketAsync(bucketName, DropBucketOptions.Default));
 }