7 references to TextEncoderSettings
System.Text.Encodings.Web (7)
System\Text\Encodings\Web\DefaultHtmlEncoder.cs (1)
13
internal static readonly DefaultHtmlEncoder BasicLatinSingleton = new DefaultHtmlEncoder(new
TextEncoderSettings
(UnicodeRanges.BasicLatin));
System\Text\Encodings\Web\DefaultJavaScriptEncoder.cs (2)
11
internal static readonly DefaultJavaScriptEncoder BasicLatinSingleton = new DefaultJavaScriptEncoder(new
TextEncoderSettings
(UnicodeRanges.BasicLatin));
12
internal static readonly DefaultJavaScriptEncoder UnsafeRelaxedEscapingSingleton = new DefaultJavaScriptEncoder(new
TextEncoderSettings
(UnicodeRanges.All), allowMinimalJsonEscaping: true);
System\Text\Encodings\Web\DefaultUrlEncoder.cs (1)
11
internal static readonly DefaultUrlEncoder BasicLatinSingleton = new DefaultUrlEncoder(new
TextEncoderSettings
(UnicodeRanges.BasicLatin));
System\Text\Encodings\Web\HtmlEncoder.cs (1)
36
return new DefaultHtmlEncoder(new
TextEncoderSettings
(allowedRanges));
System\Text\Encodings\Web\JavaScriptEncoder.cs (1)
56
return new DefaultJavaScriptEncoder(new
TextEncoderSettings
(allowedRanges));
System\Text\Encodings\Web\UrlEncoder.cs (1)
36
return new DefaultUrlEncoder(new
TextEncoderSettings
(allowedRanges));