5 references to Authorized
Microsoft.AspNetCore.Components.Authorization (4)
AuthorizeRouteView.cs (1)
91builder.AddComponentParameter(2, nameof(AuthorizeRouteViewCore.Authorized), _renderAuthorizedDelegate);
AuthorizeViewCore.cs (3)
61var authorized = Authorized ?? ChildContent; 76if (ChildContent != null && Authorized != null) 78throw new InvalidOperationException($"Do not specify both '{nameof(Authorized)}' and '{nameof(ChildContent)}'.");
Microsoft.AspNetCore.Components.Authorization.Tests (1)
AuthorizeViewTest.cs (1)
509builder.AddComponentParameter(2, nameof(AuthorizeView.Authorized), authorized);