internal virtual void Emit(Emitter emitter) { bool isWrote = false; if (!CustomTag.IsEmpty) { emitter.Write(CustomTag.ToString()).WriteWhitespace(); isWrote = true; } if (Anchor != string.Empty) { emitter.Write("&").Write(Anchor).WriteWhitespace(); isWrote = true; } if (isWrote) { if (IsMultyline) { emitter.WriteLine(); } } }
public void Visit(CustomTag customTag) { _result += customTag.ToString(); }