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

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
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
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
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
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
See Also