public static IGlobalConfiguration AddIPizzaBankProvider(this IGlobalConfiguration configuration)
        {
            var ipizzaMessageMapper = new IPizzaMessageMapper(new BasicMessageFieldFinder(),
                                                              new MacCalculatorFactory(),
                                                              new TimeProvider());;

            return(configuration.AddBankProvider(new IPizzaBankProvider(ipizzaMessageMapper)));
        }
 public IPizzaResponse1911Visitor(IGlobalConfiguration globalConfiguration, IPizzaMessageMapper bankMessageMapper)
     : base(globalConfiguration)
 {
     _bankMessageMapper = bankMessageMapper;
 }
Ejemplo n.º 3
0
 public IPizzaBankProvider(IPizzaMessageMapper bankMessageMapper)
 {
     _bankMessageMapper = bankMessageMapper;
 }
 public IPizzaRequest1012Visitor(IGlobalConfiguration globalConfiguration, IPizzaMessageMapper bankMessageMapper)
     : base(globalConfiguration)
 {
     _bankMessageMapper = bankMessageMapper;
 }