27 references to AddContent
Microsoft.AspNetCore.Components (2)
CascadingValue.cs (1)
176builder.AddContent(0, ChildContent);
Rendering\RenderTreeBuilder.cs (1)
128AddContent(sequence, fragment(value));
Microsoft.AspNetCore.Components.Authorization (3)
AuthorizeViewCore.cs (3)
57builder.AddContent(0, Authorizing); 62builder.AddContent(0, authorized?.Invoke(currentAuthenticationState!)); 66builder.AddContent(0, NotAuthorized?.Invoke(currentAuthenticationState!));
Microsoft.AspNetCore.Components.Authorization.Tests (2)
AuthorizeRouteViewTest.cs (1)
395builder.AddContent(1, Body);
AuthorizeViewTest.cs (1)
556builder.AddContent(0, ChildContent);
Microsoft.AspNetCore.Components.QuickGrid (2)
Columns\TemplateColumn.cs (1)
26=> builder.AddContent(0, ChildContent(item));
Infrastructure\Defer.cs (1)
28builder.AddContent(0, ChildContent);
Microsoft.AspNetCore.Components.Tests (9)
CascadingParameterTest.cs (2)
881=> builder.AddContent(0, ChildContent); 1041builder.AddContent(0, ChildContent);
DynamicComponentTest.cs (1)
136builder.AddContent(1, ChildContent);
LayoutViewTest.cs (3)
289builder.AddContent(1, Body); 303builder.AddContent(1, Body); 317builder.AddContent(1, Body);
Rendering\RenderTreeBuilderTest.cs (1)
697builder.AddContent(11, fragment);
RouteViewTest.cs (2)
207builder.AddContent(1, Body); 220builder.AddContent(1, Body);
Microsoft.AspNetCore.Components.Web (6)
Forms\InputSelect.cs (1)
61builder.AddContent(10, ChildContent);
Head\PageTitle.cs (1)
32builder.AddContent(1, ChildContent);
Routing\NavLink.cs (1)
170builder.AddContent(4, ChildContent);
Virtualization\Virtualize.cs (1)
249builder.AddContent(4, _emptyContent);
Web\ErrorBoundary.cs (2)
30builder.AddContent(0, ChildContent); 34builder.AddContent(1, ErrorContent(CurrentException));
Microsoft.AspNetCore.Components.Web.Tests (3)
HtmlRendering\HtmlRendererTest.cs (2)
687rtb.AddContent(2, rf => rf.AddContent(0, "Hello world!")); 716rtb.AddContent(3, rf => rf.AddContent(0, "Hello world!"));
Virtualization\VirtualizeTest.cs (1)
136builder.AddContent(2, InnerContent);