Exemple #1
0
        public static Task FlushBucketAsync(this IBucketManager bucketManager, string bucketName, Action <FlushBucketOptions> configureOptions)
        {
            var options = new FlushBucketOptions();

            configureOptions(options);

            return(bucketManager.FlushBucketAsync(bucketName, options));
        }
Exemple #2
0
 public static Task FlushBucketAsync(this IBucketManager bucketManager, string bucketName)
 {
     return(bucketManager.FlushBucketAsync(bucketName, FlushBucketOptions.Default));
 }