Exemple #1
0
        public static Task UpsertAsync(this IBucketManager bucketManager, BucketSettings settings, Action <UpsertBucketOptions> configureOptions)
        {
            var options = new UpsertBucketOptions();

            configureOptions(options);

            return(bucketManager.UpsertAsync(settings, options));
        }
Exemple #2
0
 public static Task UpsertAsync(this IBucketManager bucketManager, BucketSettings settings)
 {
     return(bucketManager.UpsertAsync(settings, UpsertBucketOptions.Default));
 }