2 instantiations of EscaperImplementation
System.Text.Encodings.Web (2)
System\Text\Encodings\Web\DefaultJavaScriptEncoder.cs (2)
75
internal static readonly EscaperImplementation Singleton = new
EscaperImplementation
(allowMinimalEscaping: false);
76
internal static readonly EscaperImplementation SingletonMinimallyEscaped = new
EscaperImplementation
(allowMinimalEscaping: true);
4 references to EscaperImplementation
System.Text.Encodings.Web (4)
System\Text\Encodings\Web\DefaultJavaScriptEncoder.cs (4)
33
? new OptimizedInboxTextEncoder(
EscaperImplementation
.SingletonMinimallyEscaped, settings.GetAllowedCodePointsBitmap(), forbidHtmlSensitiveCharacters: false,
35
: new OptimizedInboxTextEncoder(
EscaperImplementation
.Singleton, settings.GetAllowedCodePointsBitmap(), forbidHtmlSensitiveCharacters: true,
75
internal static readonly
EscaperImplementation
Singleton = new EscaperImplementation(allowMinimalEscaping: false);
76
internal static readonly
EscaperImplementation
SingletonMinimallyEscaped = new EscaperImplementation(allowMinimalEscaping: true);