public RequiredLoadCarrierQuantityRule(MainRule.ContextModel context, IRule parentRule)
 {
     Context    = new ContextModel(context, this);
     ParentRule = parentRule;
 }
 public RequiredSourceAccountIdRule(int?context, IRule parentRule)
 {
     Context    = new ContextModel(context, this);
     ParentRule = parentRule;
 }
 public ValidDestinationAccountRule(MainRule.ContextModel request, IRule parentRule)
 {
     Context    = new ContextModel(request, this);
     ParentRule = parentRule;
 }
 public RulesBundle(ContextModel context, IRule rule)
 {
     RequiredDestinationAccountIdRule = new RequiredDestinationAccountIdRule(context.DestinationAccountId, rule);
 }
Example #5
0
 public RequiredDestinationAccountIdRule(int?context, IRule parentRule)
 {
     Context    = new ContextModel(context, this);
     ParentRule = parentRule;
 }