コード例 #1
0
 public IEnumerable <Rule> GetMatchRule(RuleWorkContext ruleWorkContext)
 {
     return(Get(m => m.Status == (int)Easy.Constant.RecordStatus.Active).Where(rule => _ruleManager.IsTrue(rule.RuleExpression, ruleWorkContext)).ToList());
 }