/// <summary> /// Visits the monospace. /// </summary> /// <param name="monospace">The monospace.</param> public virtual void VisitMonospace(Monospace monospace) { if (monospace == null) { return; } _writer.Write(monospace.DoubleDelimited ? "``" : "`"); VisitInlineContainer(monospace); _writer.Write(monospace.DoubleDelimited ? "``" : "`"); }
public virtual void Visit(Monospace monospace) { if (monospace == null) { return; } _writer.Write("<code>"); Visit((InlineContainer)monospace); _writer.Write("</code>"); }
/// <summary> /// Visits the monospace. /// </summary> /// <param name="monospace">The monospace.</param> public virtual void VisitMonospace(Monospace monospace) { }
protected bool Equals(Monospace other) { return(DoubleDelimited == other.DoubleDelimited && Attributes.Equals(other.Attributes) && Elements.SequenceEqual(other.Elements)); }