Inheritance: 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();
 }
コード例 #3
0
 public SecondModulusCalculatorStep(SecondStandardModulusTenCalculator secondStandardModulusTenCalculator,
                                    SecondStandardModulusElevenCalculator secondStandardModulusElevenCalculator,
                                    SecondDoubleAlternateCalculator secondDoubleAlternateCalculator,
                                    DoubleAlternateCalculatorExceptionFive daf)
 {
     _secondStepRouter = new SecondStepRouter(secondStandardModulusTenCalculator,
                                              secondStandardModulusElevenCalculator,
                                              secondDoubleAlternateCalculator);
 }