public GetChangeGreedyRecAlgorithmService(ICoinBoxService coinBoxService) : base(coinBoxService) { }
public GetChangeDynamicProgrammingService(ICoinBoxService coinBoxService) : base(coinBoxService) { }
public CommandReader(IGetChangeService getChangeService, ICoinBoxService coinBoxService) { this._getChangeService = getChangeService; this._coinBoxService = coinBoxService; }
protected GetChangeBaseService(ICoinBoxService coinBoxService) { this._coinBoxService = coinBoxService ?? throw new ArgumentNullException(nameof(coinBoxService)); }