public void Add(DiffType diffType) { if (diffType == DiffType.None) { if (DiffType != diffType) Current += "</pre><pre>"; } else { Current += "</pre><pre class='" + diffType.ToString() + "'>"; } DiffType = diffType; }
public HtmlTableRowGroup(DiffType diffType) { Class = diffType.ToString(); DiffType = diffType; Lines = new List<HtmlTableLine>(); }