Click or drag to resize
HTMLTextDiffList Class
Creates two difference lists for strings containing HTML markup.
Inheritance Hierarchy

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 12.0.0
Syntax
C#
public class HTMLTextDiffList : TextDiffList

The HTMLTextDiffList type exposes the following members.

Constructors
  NameDescription
Public methodHTMLTextDiffList(String, String)
Default constructor.
Public methodHTMLTextDiffList(String, String, Boolean)
Constructor allowing to set how to treat HTML tags.
Top
Properties
  NameDescription
Public propertyBalanceContent
If true, the resulting content is balance to include the same content on both sides.
Public propertyConsiderHTMLTagsEqual
If true, the found HTML tags are considered equal in ignore mode.
Public propertyDstDiffList
List for differences in destination text data.
(Inherited from TextDiffList.)
Public propertyIgnoreHTMLTags
If true, the HTML tags are ignored in the comparison.
Public propertySrcDiffList
List for differences in source text data.
(Inherited from TextDiffList.)
Top
Methods
  NameDescription
Public methodAnalyze
Analyze 2 TextData and create appropriate difference lists.
(Overrides TextDiffListAnalyze.)
Protected methodSetNewDstList
Method to replace data of destination difference list.
(Inherited from TextDiffList.)
Protected methodSetNewSrcList
Method to replace data of source difference list.
(Inherited from TextDiffList.)
Top
See Also