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"/>. 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)
508builder.AddComponentParameter(1, nameof(AuthorizeView.ChildContent), childContent);