Exemple #1
0
 public FizzBuzzFlow(IFizzBuzzCalculator fizzbuzz)
 {
     _fizzbuzz = fizzbuzz;
 }
 public FizzBuzzController(IFizzBuzzCalculator calculator, IFizzBuzzRuleRepository repository)
 {
     _repository = repository;
     _calculator = calculator;
 }
 public FizzBuzz()
 {
     this.fizzBuzzCalculator = new FizzBuzzCalculator();
 }
Exemple #4
0
 /// <summary>
 /// Constuctor Logic
 /// </summary>
 /// <param name="calculator"></param>
 internal FizzBuzzProcessor(IFizzBuzzCalculator calculator, IOutput output)
 {
     //dep inject
     _calculator = calculator;
     _output     = output;
 }
 public BoomServiceComposition(IFizzBuzzCalculator baseClass)
 {
     _baseService = baseClass;
 }
 public FizzBuzzCalculatorTest()
 {
     fizzBuzzCalculator = new FizzBuzzCalculator();
 }
Exemple #7
0
 public FizzBuzzFlow(IFizzBuzzCalculator fizzBuzzCalculator, ISeparator iSeparator)
 {
     this.fizzBuzzCalculator = fizzBuzzCalculator;
     this.iSeparator         = iSeparator;
 }