internal RuleOperation(RuleOperationContext context, RuleAction action) { Requires.NotNull(context, nameof(context)); this.Action = action; this.Context = context; }
internal RuleOperation(RuleOperationContext context, RuleAction action) { Requires.NotNull(context, nameof(context)); this.Action = action; this.Context = context; }
private SimpleRule(RuleDescriptor ruleDescriptor, RuleOperationContext ruleOperationContext, RuleAction ruleAction) { Requires.NotNull(ruleDescriptor, nameof(ruleDescriptor)); Requires.NotNull(ruleOperationContext, nameof(ruleOperationContext)); this.RuleDescriptor = ruleDescriptor; this.RuleOperationContext = new RuleOperation(ruleOperationContext, ruleAction); }
private SimpleRule(RuleDescriptor ruleDescriptor, RuleOperationContext ruleOperationContext, RuleAction ruleAction) { Requires.NotNull(ruleDescriptor, nameof(ruleDescriptor)); Requires.NotNull(ruleOperationContext, nameof(ruleOperationContext)); this.RuleDescriptor = ruleDescriptor; this.RuleOperationContext = new RuleOperation(ruleOperationContext, ruleAction); }