コード例 #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);
            }
コード例 #2
0
 public ContextModel(MainRule.ContextModel parent, TransportValidRule rule) : base(parent, rule)
 {
 }