Exemple #1
0
        public static Task <Dictionary <string, BucketSettings> > GetAllBucketsAsync(this IBucketManager bucketManager, Action <GetAllBucketsOptions> configureOptions)
        {
            var options = new GetAllBucketsOptions();

            configureOptions(options);

            return(bucketManager.GetAllBucketsAsync(options));
        }
Exemple #2
0
 public static Task <Dictionary <string, BucketSettings> > GetAllBucketsAsync(this IBucketManager bucketManager)
 {
     return(bucketManager.GetAllBucketsAsync(GetAllBucketsOptions.Default));
 }