HtmlComplianceOptions Class

Options that control how an HtmlTokenizer or HtmlToHtml converter reports HTML compliance violations.

Definition

Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public class HtmlComplianceOptions
Inheritance
Object    HtmlComplianceOptions

Remarks

These options only have an effect when a ComplianceLogger has been set. When no logger is set, no compliance checks are performed at all.

Constructors

HtmlComplianceOptions Initialize a new instance of the HtmlComplianceOptions class.

Properties

MaxIssuesPerViolation Get or set the maximum number of times that each compliance violation may be reported.

Methods

Clone Clones an instance of HtmlComplianceOptions.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
ToString Returns a string that represents the current object.
(Inherited from Object)

Fields

Default The default compliance options.

See Also