5 references to ChildContent
Microsoft.AspNetCore.Components.Authorization (4)
AuthorizeViewCore.cs (4)
30
/// If you specify a value for this parameter, do not also specify a value for <see cref="
ChildContent
"/>.
61
var authorized = Authorized ??
ChildContent
;
76
if (
ChildContent
!= null && Authorized != null)
78
throw new InvalidOperationException($"Do not specify both '{nameof(Authorized)}' and '{nameof(
ChildContent
)}'.");
Microsoft.AspNetCore.Components.Authorization.Tests (1)
AuthorizeViewTest.cs (1)
508
builder.AddComponentParameter(1, nameof(AuthorizeView.
ChildContent
), childContent);