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); }
public RequiredDestinationAccountIdRule(int?context, IRule parentRule) { Context = new ContextModel(context, this); ParentRule = parentRule; }