28 references to AuthorizeRouteView
Microsoft.AspNetCore.Components.Authorization (1)
AuthorizeRouteView.cs (1)
34
/// Initialize a new instance of a <see cref="
AuthorizeRouteView
"/>.
Microsoft.AspNetCore.Components.Authorization.Tests (27)
AuthorizeRouteViewTest.cs (27)
39
_authorizeRouteViewComponent = (
AuthorizeRouteView
)componentFactory.InstantiateComponent(services, typeof(
AuthorizeRouteView
), null, null);
56
{ nameof(
AuthorizeRouteView
.RouteData), routeData },
57
{ nameof(
AuthorizeRouteView
.DefaultLayout), typeof(TestLayout) },
92
{ nameof(
AuthorizeRouteView
.RouteData), routeData },
93
{ nameof(
AuthorizeRouteView
.DefaultLayout), typeof(TestLayout) },
94
{ nameof(
AuthorizeRouteView
.Resource), resource }
131
{ nameof(
AuthorizeRouteView
.RouteData), routeData },
132
{ nameof(
AuthorizeRouteView
.DefaultLayout), typeof(TestLayout) },
160
{ nameof(
AuthorizeRouteView
.RouteData), routeData },
161
{ nameof(
AuthorizeRouteView
.DefaultLayout), typeof(TestLayout) },
187
{ nameof(
AuthorizeRouteView
.RouteData), routeData },
188
{ nameof(
AuthorizeRouteView
.DefaultLayout), typeof(TestLayout) },
189
{ nameof(
AuthorizeRouteView
.NotAuthorized), customNotAuthorized },
214
{ nameof(
AuthorizeRouteView
.RouteData), routeData },
215
{ nameof(
AuthorizeRouteView
.DefaultLayout), typeof(TestLayout) },
216
{ nameof(
AuthorizeRouteView
.NotAuthorized), customNotAuthorized },
258
{ nameof(
AuthorizeRouteView
.RouteData), routeData },
259
{ nameof(
AuthorizeRouteView
.DefaultLayout), typeof(TestLayout) },
260
{ nameof(
AuthorizeRouteView
.Authorizing), customAuthorizing },
280
{ nameof(
AuthorizeRouteView
.RouteData), routeData }
321
component => Assert.IsType<
AuthorizeRouteView
>(component),
338
{ nameof(
AuthorizeRouteView
.RouteData), routeData },
339
{ nameof(
AuthorizeRouteView
.DefaultLayout), typeof(TestLayout) },
346
{ nameof(
AuthorizeRouteView
.RouteData), routeData2 },
419
builder.OpenComponent<
AuthorizeRouteView
>(0);
420
builder.AddComponentParameter(1, nameof(
AuthorizeRouteView
.RouteData), _routeData);