3 references to Resource
Microsoft.AspNetCore.Components.Authorization (2)
AuthorizeRouteView.cs (1)
94
builder.AddComponentParameter(5, nameof(AuthorizeRouteViewCore.
Resource
), Resource);
AuthorizeViewCore.cs (1)
112
var result = await AuthorizationService.AuthorizeAsync(user,
Resource
, policy!);
Microsoft.AspNetCore.Components.Authorization.Tests (1)
AuthorizeViewTest.cs (1)
514
builder.AddComponentParameter(7, nameof(AuthorizeView.
Resource
), resource);