コード例 #1
0
        public static Task <BucketSettings> GetBucketAsync(this IBucketManager bucketManager, string bucketName, Action <GetBucketOptions> configureOptions)
        {
            var options = new GetBucketOptions();

            configureOptions(options);

            return(bucketManager.GetBucketAsync(bucketName, options));
        }
コード例 #2
0
 public static Task <BucketSettings> GetBucketAsync(this IBucketManager bucketManager, string bucketName)
 {
     return(bucketManager.GetBucketAsync(bucketName, GetBucketOptions.Default));
 }