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())));
     }
 }