5 types derived from HtmlEncoder
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Microsoft.AspNetCore.Razor (1)
Microsoft.Extensions.WebEncoders (1)
System.Text.Encodings.Web (1)
TagHelpersWebSite (1)
319 references to HtmlEncoder
ExceptionHandlerSample (1)
HtmlGenerationWebSite (1)
Identity.ExternalClaims (2)
IdentitySample.DefaultUI (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (6)
Microsoft.AspNetCore.Components.Endpoints (9)
Microsoft.AspNetCore.Components.Endpoints.Tests (11)
EndpointHtmlRendererTest.cs (11)
58await renderer.Dispatcher.InvokeAsync(() => result.WriteTo(writer, HtmlEncoder.Default));
81await renderer.Dispatcher.InvokeAsync(() => result.WriteTo(writer, HtmlEncoder.Default));
124await renderer.Dispatcher.InvokeAsync(() => result.WriteTo(writer, HtmlEncoder.Default));
161await renderer.Dispatcher.InvokeAsync(() => result.WriteTo(writer, HtmlEncoder.Default));
196await renderer.Dispatcher.InvokeAsync(() => result.WriteTo(writer, HtmlEncoder.Default));
245await renderer.Dispatcher.InvokeAsync(() => result.WriteTo(writer, HtmlEncoder.Default));
288await renderer.Dispatcher.InvokeAsync(() => result.WriteTo(writer, HtmlEncoder.Default));
664collection.TryAddSingleton(HtmlEncoder.Default);
1059await renderer.Dispatcher.InvokeAsync(() => result.WriteTo(writer, HtmlEncoder.Default));
1163await renderer.Dispatcher.InvokeAsync(() => result.WriteTo(writer, HtmlEncoder.Default));
1631result.WriteTo(writer, HtmlEncoder.Default);
Microsoft.AspNetCore.Components.Web (2)
Microsoft.AspNetCore.Components.WebView.Test (2)
Microsoft.AspNetCore.Diagnostics (4)
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (4)
Microsoft.AspNetCore.Hosting (2)
Microsoft.AspNetCore.Html.Abstractions (9)
Microsoft.AspNetCore.Html.Abstractions.Tests (5)
Microsoft.AspNetCore.Identity (2)
Microsoft.AspNetCore.Identity.UI (12)
Microsoft.AspNetCore.Mvc.FunctionalTests (3)
Microsoft.AspNetCore.Mvc.Localization (1)
Microsoft.AspNetCore.Mvc.Razor (23)
Microsoft.AspNetCore.Mvc.Razor.Test (4)
Microsoft.AspNetCore.Mvc.RazorPages (4)
Microsoft.AspNetCore.Mvc.RazorPages.Test (6)
Microsoft.AspNetCore.Mvc.TagHelpers (23)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (8)
Microsoft.AspNetCore.Mvc.ViewFeatures (33)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (28)
DefaultEditorTemplatesTest.cs (8)
100noopContentWithEmptyToString.Setup(c => c.WriteTo(It.IsAny<TextWriter>(), It.IsAny<HtmlEncoder>()));
107noopContentWithNonEmptyToString.Setup(c => c.WriteTo(It.IsAny<TextWriter>(), It.IsAny<HtmlEncoder>()));
115.Setup(c => c.WriteTo(It.IsAny<TextWriter>(), It.IsAny<HtmlEncoder>()))
116.Callback<TextWriter, HtmlEncoder>((writer, encoder) =>
133.Setup(c => c.WriteTo(It.IsAny<TextWriter>(), It.IsAny<HtmlEncoder>()))
134.Callback<TextWriter, HtmlEncoder>((writer, encoder) => writer.Write("Some string"));
142.Setup(c => c.WriteTo(It.IsAny<TextWriter>(), It.IsAny<HtmlEncoder>()))
143.Callback<TextWriter, HtmlEncoder>((writer, encoder) => writer.Write("Some string"));
Microsoft.AspNetCore.Mvc.Views.TestCommon (1)
Microsoft.AspNetCore.Razor (24)
Microsoft.AspNetCore.Razor.Runtime (11)
Microsoft.AspNetCore.Razor.Runtime.Test (15)
Microsoft.AspNetCore.Razor.Test (15)
Microsoft.AspNetCore.Server.IIS (2)
Microsoft.AspNetCore.SpaProxy (2)
Microsoft.AspNetCore.StaticFiles (6)
Microsoft.Extensions.WebEncoders (5)
Microsoft.Extensions.WebEncoders.Tests (10)
OpenIdConnectSample (2)
SocialSample (4)
StatusCodePagesSample (4)
System.Text.Encodings.Web (8)
TagHelpersWebSite (3)
WsFedSample (1)