Пример #1
0
        public static Task <IEnumerable <ScopeSpec> > GetAllScopesAsync(this ICollectionManager manager, Action <GetAllScopesOptions> configureOptions)
        {
            var options = new GetAllScopesOptions();

            configureOptions(options);

            return(manager.GetAllScopesAsync(options));
        }
Пример #2
0
 public static Task <IEnumerable <ScopeSpec> > GetAllScopesAsync(this ICollectionManager manager)
 {
     return(manager.GetAllScopesAsync(GetAllScopesOptions.Default));
 }