public BelowThousandParser(INumericalParser nextParser) : base(nextParser) { _digitsDictionary = new BelowTen(); _belowTwentyDictionary = new BelowTwenty(); _dozensDictionary = new Dozens(); _hundredsDictionary = new Hundreds(); }
public NumbersToText() { _zeroDictionary = new ZeroDictionary(); _minusDictionary = new MinusDictionary(); INumericalParser innerParser = new BillionParser(); innerParser = new MillionsParser(innerParser); innerParser = new ThousandsParser(innerParser); _numericalParser = new BelowThousandParser(innerParser); }
protected BaseNumericalParser(INumericalParser nextParser) { _nextParser = nextParser; }
protected BasePostfixParser(INumericalParser nextParser) : base(nextParser) { _belowThousandParser = new BelowThousandParser(); }
public MillionsParser(INumericalParser nextParser) : base(nextParser) { }
public BillionParser(INumericalParser nextParser) : base(nextParser) { }
public ThousandsParser(INumericalParser nextParser) : base(nextParser) { }