示例#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));
        }
示例#2
0
 public static Task <BucketSettings> GetAsync(this IBucketManager bucketManager, string bucketName)
 {
     return(bucketManager.GetAsync(bucketName, GetBucketOptions.Default));
 }