コード例 #1
0
        public static Task DropCollectionAsync(this ICollectionManager manager, CollectionSpec spec, Action <DropCollectionOptions> configureOptions)
        {
            var options = new DropCollectionOptions();

            configureOptions(options);

            return(manager.DropCollectionAsync(spec, options));
        }
コード例 #2
0
 public static Task DropCollectionAsync(this ICollectionManager manager, CollectionSpec spec)
 {
     return(manager.DropCollectionAsync(spec, DropCollectionOptions.Default));
 }