コード例 #1
0
        public static Task <ScopeSpec> GetScopeAsync(this ICollectionManager manager, string scopeName, Action <GetScopeOptions> configureOptions)
        {
            var options = new GetScopeOptions();

            configureOptions(options);

            return(manager.GetScopeAsync(scopeName, options));
        }
コード例 #2
0
 public static Task <ScopeSpec> GetScopeAsync(this ICollectionManager manager, string scopeName)
 {
     return(manager.GetScopeAsync(scopeName, GetScopeOptions.Default));
 }