Esempio n. 1
0
        public static Task <IEnumerable <ScopeSpec> > GetAllScopesAsync(this ICollectionManager manager, Action <GetAllScopesOptions> configureOptions)
        {
            var options = new GetAllScopesOptions();

            configureOptions(options);

            return(manager.GetAllScopesAsync(options));
        }
Esempio n. 2
0
 public static Task <IEnumerable <ScopeSpec> > GetAllScopesAsync(this ICollectionManager manager)
 {
     return(manager.GetAllScopesAsync(GetAllScopesOptions.Default));
 }