public static Task <IEnumerable <ScopeSpec> > GetAllScopesAsync(this ICollectionManager manager, Action <GetAllScopesOptions> configureOptions) { var options = new GetAllScopesOptions(); configureOptions(options); return(manager.GetAllScopesAsync(options)); }
public static Task <IEnumerable <ScopeSpec> > GetAllScopesAsync(this ICollectionManager manager) { return(manager.GetAllScopesAsync(GetAllScopesOptions.Default)); }