Click or drag to resize
MimeKit

HtmlUtils Class

A collection of HTML-related utility methods.
Inheritance Hierarchy
SystemObject
  MimeKit.TextHtmlUtils

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public static class HtmlUtils

The HtmlUtils type exposes the following members.

Methods
 NameDescription
Public methodStatic memberHtmlAttributeEncode(ReadOnlySpanChar, Char) Encode an HTML attribute value.
Public methodStatic memberHtmlAttributeEncode(String, Char) Encode an HTML attribute value.
Public methodStatic memberHtmlAttributeEncode(TextWriter, ReadOnlySpanChar, Char) Encode an HTML attribute value.
Public methodStatic memberHtmlAttributeEncode(TextWriter, String, Char) Encode an HTML attribute value.
Public methodStatic memberHtmlAttributeEncode(Char, Int32, Int32, Char) Encode an HTML attribute value.
Public methodStatic memberHtmlAttributeEncode(String, Int32, Int32, Char) Encode an HTML attribute value.
Public methodStatic memberHtmlAttributeEncode(TextWriter, Char, Int32, Int32, Char) Encode an HTML attribute value.
Public methodStatic memberHtmlAttributeEncode(TextWriter, String, Int32, Int32, Char) Encode an HTML attribute value.
Public methodStatic memberHtmlDecode(String) Decode HTML character data.
Public methodStatic memberHtmlDecode(TextWriter, String) Decode HTML character data.
Public methodStatic memberHtmlDecode(String, Int32, Int32) Decode HTML character data.
Public methodStatic memberHtmlDecode(TextWriter, String, Int32, Int32) Decode HTML character data.
Public methodStatic memberHtmlEncode(ReadOnlySpanChar) Encode HTML character data.
Public methodStatic memberHtmlEncode(String) Encode HTML character data.
Public methodStatic memberHtmlEncode(TextWriter, ReadOnlySpanChar) Encode HTML character data.
Public methodStatic memberHtmlEncode(TextWriter, String) Encode HTML character data.
Public methodStatic memberHtmlEncode(Char, Int32, Int32) Encode HTML character data.
Public methodStatic memberHtmlEncode(String, Int32, Int32) Encode HTML character data.
Public methodStatic memberHtmlEncode(TextWriter, Char, Int32, Int32) Encode HTML character data.
Public methodStatic memberHtmlEncode(TextWriter, String, Int32, Int32) Encode HTML character data.
Top
Remarks
A collection of HTML-related utility methods.
See Also