protected IntegerToStringStrategy(int value, int divisor, Text.Text parsedValue, IIntegerToStringStrategy nextStrategy) { _value = value; _divisor = divisor; _parsedValue = parsedValue; _nextStrategy = nextStrategy; }
public BuzzStrategy(int value, IIntegerToStringStrategy nextStrategy) { _value = value; _nextStrategy = nextStrategy; }
public Integer(IIntegerToStringStrategy strategyChain) => _strategyChain = strategyChain;
public FizzStrategy(int value, IIntegerToStringStrategy nextStrategy) : base(value, 3, new Fizz(), nextStrategy) { }
public BuzzStrategy(int value, IIntegerToStringStrategy nextStrategy) : base(value, 5, new Buzz(), nextStrategy) { }
public IntegerToStringStrategyChain(IIntegerToStringStrategy strategies) => _strategies = strategies;