예제 #1
0
            public RulesBundle(ContextModel context, IRule rule)
            {
                TransportValid = new TransportValidRule(context, rule);

                var getOperator = new GetOperatorRule <ContextModel, TransportOffering>(context, (c) => c.TransportOffering);

                MaskAddressIfNecessary  = new MaskAddressIfNecessaryRule(getOperator);
                ModifyTransportOffering = new ModifyTransportOfferingRule(context, rule);
            }
 public ContextModel(MainRule.ContextModel parent, TransportValidRule rule) : base(parent, rule)
 {
 }