protected BaseAction(IFizzBuzzAction nextAction, int value, Result result) { _nextAction = nextAction; _value = value; _result = result; }
public FizzBuzzAction(IFizzBuzzAction nextAction) : base(nextAction, ThreeAndFive, new FizzBuzzResult()) { }
public FizzAction(IFizzBuzzAction nextAction) : base(nextAction, FizzValue, new FizzResult()) { }
private FizzBuzz(IFizzBuzzAction action) => _action = action;