Esempio n. 1
0
        public static Task <bool> ScopeExistsAsync(this ICollectionManager manager, string scopeName, Action <ScopeExistsOptions> configureOptions)
        {
            var options = new ScopeExistsOptions();

            configureOptions(options);

            return(manager.ScopeExistsAsync(scopeName, options));
        }
Esempio n. 2
0
 public static Task <bool> ScopeExistsAsync(this ICollectionManager manager, string scopeName)
 {
     return(manager.ScopeExistsAsync(scopeName, ScopeExistsOptions.Default));
 }