Esempio n. 1
0
        public static Task <BucketSettings> GetAsync(this IBucketManager bucketManager, string bucketName, Action <GetBucketOptions> configureOptions)
        {
            var options = new GetBucketOptions();

            configureOptions(options);

            return(bucketManager.GetAsync(bucketName, options));
        }
Esempio n. 2
0
 public static Task <BucketSettings> GetAsync(this IBucketManager bucketManager, string bucketName)
 {
     return(bucketManager.GetAsync(bucketName, GetBucketOptions.Default));
 }