public TokenTransformer(IDelimeterSet delimeterSet) { if (delimeterSet == null) throw new ArgumentNullException("delimeterSet"); _delimeterSet = delimeterSet; }
/// <summary> /// ctor /// </summary> /// <param name="delimeterSet">the delimeter set to use to determine how to translate wanetext to HTML</param> public WaneTransform(IDelimeterSet delimeterSet) { Parser = new WaneTextParser(delimeterSet); TokenTransformer = new TokenTransformer(delimeterSet); }
public WaneTextParser(IDelimeterSet delimeterSet) { _delimeterSet = delimeterSet; _textReader = new WaneTextReader(delimeterSet.GetAllDelimeters()); }