Exemplo n.º 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));
        }
Exemplo n.º 2
0
 public static Task <Dictionary <string, BucketSettings> > GetAllBucketsAsync(this IBucketManager bucketManager)
 {
     return(bucketManager.GetAllBucketsAsync(GetAllBucketsOptions.Default));
 }