Наследование: FirstStandardModulusTenCalculator
Пример #1
0
 public SecondStepRouter()
 {
     _secondStandardModulusTenCalculator = new SecondStandardModulusTenCalculator();
     _secondStandardModulusElevenCalculator = new SecondStandardModulusElevenCalculator();
     _secondDoubleAlternateCalculator = new SecondDoubleAlternateCalculator();
     InitialiseRoutingDictionary();
 }
Пример #2
0
 public SecondStepRouter(SecondStandardModulusTenCalculator smtc, SecondStandardModulusElevenCalculator smte,
                         SecondDoubleAlternateCalculator sdac)
 {
     _secondStandardModulusTenCalculator = smtc;
     _secondStandardModulusElevenCalculator = smte;
     _secondDoubleAlternateCalculator = sdac;
     InitialiseRoutingDictionary();
 }
 public SecondModulusCalculatorStep(SecondStandardModulusTenCalculator secondStandardModulusTenCalculator,
                                    SecondStandardModulusElevenCalculator secondStandardModulusElevenCalculator,
                                    SecondDoubleAlternateCalculator secondDoubleAlternateCalculator,
                                    DoubleAlternateCalculatorExceptionFive daf)
 {
     _secondStepRouter = new SecondStepRouter(secondStandardModulusTenCalculator,
                                              secondStandardModulusElevenCalculator,
                                              secondDoubleAlternateCalculator);
 }