public static Task <ScopeSpec> GetScopeAsync(this ICollectionManager manager, string scopeName, Action <GetScopeOptions> configureOptions) { var options = new GetScopeOptions(); configureOptions(options); return(manager.GetScopeAsync(scopeName, options)); }
public static Task <ScopeSpec> GetScopeAsync(this ICollectionManager manager, string scopeName) { return(manager.GetScopeAsync(scopeName, GetScopeOptions.Default)); }