Microsoft.Extensions.WebEncoders Namespace

namespace Microsoft.Extensions.WebEncoders

Classes

class Microsoft.Extensions.WebEncoders.CodePointFilter
Represents a filter which allows only certain Unicode code points through.
class Microsoft.Extensions.WebEncoders.EncoderExtensions
Helpful extension methods for the encoder classes.
class Microsoft.Extensions.WebEncoders.EncoderServiceProviderExtensions
Contains extension methods for fetching encoders from an System.IServiceProvider.
class Microsoft.Extensions.WebEncoders.HtmlEncoder
A class which can perform HTML encoding given an allow list of characters which can be represented unencoded.
class Microsoft.Extensions.WebEncoders.JavaScriptStringEncoder
A class which can perform JavaScript string escaping given an allow list of characters which can be represented unescaped.
class Microsoft.Extensions.WebEncoders.UnicodeRange
Represents a contiguous range of Unicode code points.
class Microsoft.Extensions.WebEncoders.UnicodeRanges
Contains predefined Microsoft.Extensions.WebEncoders.UnicodeRange instances which correspond to blocks from the Unicode 8.0 specification.
class Microsoft.Extensions.WebEncoders.UrlEncoder
A class which can perform URL string escaping given an allow list of characters which can be represented unescaped.
class Microsoft.Extensions.WebEncoders.WebEncoderOptions
Specifies options common to all three encoders (HtmlEncode, JavaScriptStringEncode, UrlEncode).

Interfaces

interface Microsoft.Extensions.WebEncoders.ICodePointFilter
Represents a filter which allows only certain Unicode code points through.
interface Microsoft.Extensions.WebEncoders.IHtmlEncoder
Provides services for HTML-encoding input.
interface Microsoft.Extensions.WebEncoders.IJavaScriptStringEncoder
Provides services for JavaScript-escaping strings.
interface Microsoft.Extensions.WebEncoders.IUrlEncoder
Provides services for URL-escaping strings.