public FizzBuzzController( IFizzBuzzGenerator fizzBuzzGenerator, ISettingsStore settingsStore, IPager pager, IUserInputLogger userInputLogger) { _fizzBuzzGenerator = fizzBuzzGenerator ?? throw new ArgumentNullException(nameof(fizzBuzzGenerator)); _settingsStore = settingsStore ?? throw new ArgumentNullException(nameof(settingsStore)); _pager = pager ?? throw new ArgumentNullException(nameof(pager)); _userInputLogger = userInputLogger ?? throw new ArgumentNullException(nameof(userInputLogger)); }
public void Initialize() { _generator = new NoridianGenerator(1, 10); }