32 references to Handler
Microsoft.AspNetCore.Components (6)
Routing\Router.cs (6)
258if (context.Handler != null) 260if (!typeof(IComponent).IsAssignableFrom(context.Handler)) 262throw new InvalidOperationException($"The type {context.Handler.FullName} " + 266activityHandle = RecordDiagnostics(context.Handler.FullName, context.Entry.RoutePattern.RawText); 268Log.NavigatingToComponent(_logger, context.Handler, locationPath, _baseUri); 271context.Handler,
Microsoft.AspNetCore.Components.Tests (26)
Routing\RouteTableFactoryTests.cs (26)
180Assert.NotNull(context.Handler); 194Assert.NotNull(context.Handler); 208Assert.NotNull(context.Handler); 222Assert.NotNull(context.Handler); 236Assert.NotNull(context.Handler); 250Assert.Null(context.Handler); 272Assert.Null(context.Handler); 288Assert.Null(context.Handler); 307Assert.NotNull(context.Handler); 324Assert.NotNull(context.Handler); 345Assert.NotNull(context.Handler); 367Assert.NotNull(context.Handler); 398if (context.Handler == null) 472Assert.Equal(handler, context.Handler); 653Assert.Null(context.Handler); 671if (context.Handler == null) 701if (context.Handler == null) 727if (context.Handler == null) 777Assert.NotNull(context.Handler); 795Assert.NotNull(context.Handler); 920Assert.NotNull(context.Handler); 921Assert.Equal(typeof(TestHandler1), context.Handler); 951Assert.NotNull(context.Handler); 972Assert.NotNull(context.Handler); 973Assert.Equal(typeof(TestHandler2), context.Handler); 1110Assert.Same(typeof(TestHandler1), context.Handler);