NullHtmlEncoder Class

Definition

A HtmlEncoder that does not encode. Should not be used when writing directly to a response expected to contain valid HTML.

public ref class NullHtmlEncoder : System::Text::Encodings::Web::HtmlEncoder
public ref class NullHtmlEncoder sealed : System::Text::Encodings::Web::HtmlEncoder
public class NullHtmlEncoder : System.Text.Encodings.Web.HtmlEncoder
public sealed class NullHtmlEncoder : System.Text.Encodings.Web.HtmlEncoder
type NullHtmlEncoder = class
    inherit HtmlEncoder
Public Class NullHtmlEncoder
Inherits HtmlEncoder
Public NotInheritable Class NullHtmlEncoder
Inherits HtmlEncoder
Inheritance
NullHtmlEncoder

Constructors

NullHtmlEncoder()

Initializes a NullHtmlEncoder instance.

Properties

Default

A HtmlEncoder instance that does not encode. Should not be used when writing directly to a response expected to contain valid HTML.

MaxOutputCharactersPerInputCharacter

Methods

Encode(String)
Encode(TextWriter, Char[], Int32, Int32)
Encode(TextWriter, String, Int32, Int32)
FindFirstCharacterToEncode(Char*, Int32)
TryEncodeUnicodeScalar(Int32, Char*, Int32, Int32)
WillEncode(Int32)

Applies to