5 references to NotFound
Microsoft.AspNetCore.Components (2)
Routing\Router.cs (2)
252
_renderHandle.Render(
NotFound
?? DefaultNotFoundContent);
340
[LoggerMessage(1, LogLevel.Debug, $"Displaying {nameof(
NotFound
)} because path '{{Path}}' with base URI '{{BaseUri}}' does not match any component route", EventName = "DisplayingNotFound")]
Microsoft.AspNetCore.Components.Tests (3)
Routing\RouterTest.cs (3)
189
{ nameof(Router.
NotFound
), (RenderFragment)(builder => { }) },
209
{ nameof(Router.
NotFound
), (RenderFragment)(builder => { }) },
235
{ nameof(Router.
NotFound
), (RenderFragment)(builder => builder.AddContent(0, "Custom content")) },