HtmlFormatterOptions Class
Provides options for formatting HTML.
public sealed class HtmlFormatterOptions : IEquatable<HtmlFormatterOptions>- Implements
Constructors
| Name | Description |
|---|---|
| HtmlFormatterOptions() |
HtmlFormatterOptions()
public HtmlFormatterOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| AttributeQuote | Gets or sets the quote style to use for attribute values. |
| OrderAttributes | Gets or sets whether to order attributes alphabetically. |
| RedactContentSecurityPolicyNonce | Gets or sets whether to redact Content Security Policy nonce values. |
AttributeQuote
HtmlFormatterOptions.csGets or sets the quote style to use for attribute values.
public HtmlAttributeQuote? AttributeQuote { get; set; }Property value
OrderAttributes
HtmlFormatterOptions.csRedactContentSecurityPolicyNonce
HtmlFormatterOptions.csMethods
| Name | Description |
|---|---|
| Equals(HtmlFormatterOptions?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() |
Equals overloads
Equals(HtmlFormatterOptions?)
public bool Equals(HtmlFormatterOptions? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(HtmlFormatterOptions?, HtmlFormatterOptions?) | |
| operator !=(HtmlFormatterOptions?, HtmlFormatterOptions?) |
operator ==(HtmlFormatterOptions?, HtmlFormatterOptions?)
public static bool operator ==(HtmlFormatterOptions? left, HtmlFormatterOptions? right)No documentation is available.
operator !=(HtmlFormatterOptions?, HtmlFormatterOptions?)
public static bool operator !=(HtmlFormatterOptions? left, HtmlFormatterOptions? right)No documentation is available.