コード例 #1
0
 private async Task InvokeNestedRulesAsync(bool invokeNestedRules, IGeneralRule <T> rule)
 {
     if (invokeNestedRules && rule.IsNested)
     {
         await ExecuteAsyncRules(_activeRuleService.FilterActivatingRules(rule.GetRules()));
     }
 }
コード例 #2
0
 private void InvokeNestedRules(bool invokeNestedRules, IGeneralRule <T> rule)
 {
     if (invokeNestedRules && rule.IsNested)
     {
         Execute(_activeRuleService.FilterActivatingRules(OrderByExecutionOrder(rule.GetRules())));
     }
 }