public ArabianToRomanNumberConverter(IFactory <int, IDecoder <int, string> > factory, IConverter converter, RomanNumber.RomanNumberBuilder romanNumberBuilder) { _converter = converter; _factoryMethod = arg => factory.Create(arg); _romanNumberBuilder = romanNumberBuilder; }
public ArabianToRomanNumberConverter(Func <int, IDecoder <int, string> > factoryMethod, IConverter converter, RomanNumber.RomanNumberBuilder romanNumberBuilder) { _converter = converter; _factoryMethod = factoryMethod; _romanNumberBuilder = romanNumberBuilder; }