public object Visit(DocLink docLink) { _writer.Write('['); _writer.Write(docLink.Name); _writer.Write(']'); _writer.Write("(#"); _writer.Write(docLink.Type); _writer.Write('.'); _writer.Write(docLink.Name ?? docLink.Id); _writer.Write(')'); _state = WriteState.Text; return(null); }
public StringVisitor Visit(DocLink docLink) { _builder.Append(docLink.Name); return(this); }