Ejemplo n.º 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));
        }
Ejemplo n.º 2
0
 public static Task UpsertAsync(this IBucketManager bucketManager, BucketSettings settings)
 {
     return(bucketManager.UpsertAsync(settings, UpsertBucketOptions.Default));
 }