public GenericNumberToWordsConverter(ITripletToWordsConverter groupToWordsConverter, IConverterDictionary converterDictionary) { _groupToWordsConverter = groupToWordsConverter ?? throw new ArgumentNullException(nameof(groupToWordsConverter)); _converterDictionary = converterDictionary ?? throw new ArgumentNullException(nameof(converterDictionary)); }
public NumberToWordsConverterBuilder WithDictionary(IConverterDictionary converterDictionary) { _Dictionary = converterDictionary; return(this); }