234 references to OpenComponent
Aspire.Dashboard (1)
Components\Controls\Grid\AspireFluentDataGridHeaderCell.razor.cs (1)
81builder.OpenComponent<AspireFluentDataGridHeaderCell<T>>(0);
Aspire.Dashboard.Components.Tests (1)
Controls\TextVisualizerDialogTests.cs (1)
157builder.OpenComponent<FluentDialogProvider>(0);
Microsoft.AspNetCore.Components (3)
Rendering\RenderTreeBuilder.cs (1)
571/// must be balanced with calls to <see cref="OpenComponent{TComponent}"/>.
RouteView.cs (1)
82builder.OpenComponent<LayoutView>(0);
Sections\SectionOutlet.cs (1)
101builder.OpenComponent<SectionOutletContentRenderer>(0);
Microsoft.AspNetCore.Components.Authorization (3)
AuthorizeRouteView.cs (3)
81builder.OpenComponent<CascadingAuthenticationState>(0); 89builder.OpenComponent<AuthorizeRouteViewCore>(0); 106builder.OpenComponent<LayoutView>(0);
Microsoft.AspNetCore.Components.Authorization.Tests (9)
AuthorizeRouteViewTest.cs (2)
415builder.OpenComponent<CascadingValue<Task<AuthenticationState>>>(0); 419builder.OpenComponent<AuthorizeRouteView>(0);
AuthorizeViewTest.cs (4)
486builder.OpenComponent<AuthorizeViewCoreWithScheme>(0); 507builder.OpenComponent<AuthorizeView>(0); 533builder.OpenComponent<CascadingValue<Task<AuthenticationState>>>(0); 537builder.OpenComponent<NeverReRenderComponent>(0);
CascadingAuthenticationStateTest.cs (3)
22builder.OpenComponent<CascadingAuthenticationState>(0); 179builder.OpenComponent<CascadingAuthenticationState>(0); 182childBuilder.OpenComponent<ReceiveAuthStateComponent>(0);
Microsoft.AspNetCore.Components.Endpoints (1)
RazorComponentEndpointHost.cs (1)
45builder.OpenComponent<LayoutView>(0);
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
EndpointHtmlRendererTest.cs (2)
836builder.OpenComponent<NamedEventHandlerComponent>(0); 838builder.OpenComponent<OtherNamedEventHandlerComponent>(1);
Microsoft.AspNetCore.Components.Tests (187)
CascadingParameterTest.cs (27)
20builder.OpenComponent<CascadingValue<string>>(0); 24childBuilder.OpenComponent<CascadingParameterConsumerComponent<string>>(0); 58builder.OpenComponent<CascadingValue<string>>(0); 62childBuilder.OpenComponent<CascadingParameterConsumerComponent<string>>(0); 106builder.OpenComponent<CascadingValue<string>>(0); 110childBuilder.OpenComponent<CascadingParameterConsumerComponent<string>>(0); 151builder.OpenComponent<CascadingValue<string>>(0); 155childBuilder.OpenComponent<CascadingParameterConsumerComponent<string>>(0); 190builder.OpenComponent<CascadingValue<int>>(0); 196builder2.OpenComponent<CascadingValue<string>>(0); 202builder3.OpenComponent<SecondCascadingParameterConsumerComponent<string, int>>(0); 256builder.OpenComponent<CascadingValue<string>>(0); 263childBuilder.OpenComponent<CascadingParameterConsumerComponent<string>>(0); 315builder.OpenComponent<CascadingValue<object>>(0); 337builder.OpenComponent<CascadingValue<object>>(0); 362builder.OpenComponent<CascadingValue<string>>(0); 366childBuilder.OpenComponent<CascadingParameterConsumerComponent<string>>(0); 395builder.OpenComponent<CustomCascadingValueProducer<CustomCascadingParameter1Attribute>>(0); 399builder.OpenComponent<CustomCascadingValueProducer<CustomCascadingParameter2Attribute>>(0); 403builder.OpenComponent<CustomCascadingValueConsumer1>(0); 405builder.OpenComponent<CustomCascadingValueConsumer2>(1); 525builder.OpenComponent<CascadingValue<MyParamType>>(0); 529childBuilder.OpenComponent<CascadingParameterConsumerComponent<MyParamType>>(0); 722builder.OpenComponent<CascadingValue<string>>(0); 726builder.OpenComponent<SingleDeliveryCascadingValue>(0); 730builder.OpenComponent<SingleDeliveryParameterConsumerComponent>(0); 970builder.OpenComponent<SimpleSubscriberComponent>(1);
ParameterViewTest.Assignment.cs (1)
752builder.OpenComponent<FakeComponent>(0);
RendererTest.cs (85)
65builder.OpenComponent<MessageComponent>(1); 137builder.OpenComponent<MessageComponent>(0); 790builder.OpenComponent<EventComponent>(0); 962builder.OpenComponent<EventComponent>(0); 1020builder.OpenComponent<EventComponent>(0); 1061builder.OpenComponent<EventComponent>(0); 1103builder.OpenComponent<EventComponent>(0); 1141builder.OpenComponent<EventComponent>(0); 1182builder.OpenComponent<EventComponent>(0); 1222builder.OpenComponent<EventComponent>(0); 1260builder.OpenComponent<EventComponent>(0); 1301builder.OpenComponent<EventComponent>(0); 1340builder.OpenComponent<EventComponent>(0); 1373builder.OpenComponent<EventComponent>(0); 1407builder.OpenComponent<EventComponent>(0); 1441builder.OpenComponent<EventComponent>(0); 1474builder.OpenComponent<EventComponent>(0); 1508builder.OpenComponent<EventComponent>(0); 1543builder.OpenComponent<EventComponent>(0); 1576builder.OpenComponent<EventComponent>(0); 1610builder.OpenComponent<EventComponent>(0); 1647builder.OpenComponent<EventComponent>(0); 1683builder.OpenComponent<EventComponent>(0); 1720builder.OpenComponent<EventComponent>(0); 1758builder.OpenComponent<EventComponent>(0); 1797builder.OpenComponent<EventComponent>(0); 1837builder.OpenComponent<EventComponent>(0); 1878builder.OpenComponent<EventComponent>(0); 1916builder.OpenComponent<EventComponent>(0); 1955builder.OpenComponent<EventComponent>(0); 2040builder.OpenComponent<MessageComponent>(1); 2078builder.OpenComponent<FakeComponent>(1); 2116builder.OpenComponent<MessageComponent>(1); 2152builder.OpenComponent<MyStrongComponent>(1); 2192builder.OpenComponent<MyStrongComponent>(1); 2225builder.OpenComponent<ConditionalParentComponent<FakeComponent>>(100); 2229builder.OpenComponent<FakeComponent>(200); 2279builder.OpenComponent<DisposableComponent>(1); 2283builder.OpenComponent<DisposableComponent>(2); 2319builder.OpenComponent<AsyncDisposableComponent>(1); 2353builder.OpenComponent<AsyncDisposableComponent>(1); 2393builder.OpenComponent<AsyncDisposableComponent>(1); 2438builder.OpenComponent<AsyncDisposableComponent>(1); 2477builder.OpenComponent<AsyncDisposableComponent>(1); 2512builder.OpenComponent<AsyncDisposableComponent>(1); 2562builder.OpenComponent<DisposableComponent>(1); 2566builder.OpenComponent<DisposableComponent>(2); 2570builder.OpenComponent<DisposableComponent>(3); 2575builder.OpenComponent<DisposableComponent>(4); 2579builder.OpenComponent<DisposableComponent>(5); 2847builder.OpenComponent<EventComponent>(1); 2969builder.OpenComponent<ReRendersParentComponent>(0); 3035builder.OpenComponent<RendersSelfAfterEventComponent>(1); 3397builder.OpenComponent<AfterRenderCaptureComponent>(0); 3402builder.OpenComponent<AfterRenderCaptureComponent>(2); 3408builder.OpenComponent<AfterRenderCaptureComponent>(3); 3713builder.OpenComponent<ComponentThatAwaitsTask>(0); 3967builder.OpenComponent<ConstructorThrowingComponent>(0); 4007builder.OpenComponent<AttachThrowingComponent>(0); 4213builder.OpenComponent<DisposableComponent>(1); 4241builder.OpenComponent<DisposableComponent>(1); 4245builder.OpenComponent<DisposableComponent>(2); 4273builder.OpenComponent<AsyncDisposableComponent>(1); 4301builder.OpenComponent<AsyncDisposableComponent>(1); 4442builder.OpenComponent<ParameterViewIllegalCapturingComponent>(0); 4476builder.OpenComponent<ImplicitConversionComponent>(0); 4551builder.OpenComponent<ErrorThrowingComponent>(0); 4582builder.OpenComponent<ErrorThrowingComponent>(0); 4619builder.OpenComponent<ErrorThrowingComponent>(0); 4658builder.OpenComponent<ErrorThrowingComponent>(0); 4697builder.OpenComponent<ErrorThrowingComponent>(0); 4744builder.OpenComponent<ErrorThrowingComponent>(0); 4789builder.OpenComponent<DisposableComponent>(0); 4792builder.OpenComponent<AsyncDisposableComponent>(1); 4870builder.OpenComponent<DisposableComponent>(0); 4906builder.OpenComponent<DisposableComponent>(1); 4910builder.OpenComponent<AsyncDisposableComponent>(2); 5037builder.OpenComponent<ComponentWithUnknownRenderMode>(0); 5054builder.OpenComponent<TestComponent>(0); 5073builder.OpenComponent<ComponentWithRenderMode>(0); 5097builder.OpenComponent<TestComponent>(0); 5382builder.OpenComponent<T>(1); 5687builder.OpenComponent<NestedAsyncComponent>(2); 5987builder.OpenComponent<TestErrorBoundary>(0); 5991builder.OpenComponent<TestErrorBoundary>(0);
Rendering\RenderTreeBuilderTest.cs (34)
564builder.OpenComponent<TestComponent>(0); 579builder.OpenComponent<TestComponent>(0); 607builder.OpenComponent<TestComponent>(11); // 1: <testcomponent 611builder.OpenComponent<TestComponent>(14); // 4: <testcomponent 753builder.OpenComponent<TestComponent>(0); 806builder.OpenComponent<TestComponent>(0); // 0: <TestComponent 875builder.OpenComponent<TestComponent>(0); 948builder.OpenComponent<TestComponent>(0); 968builder.OpenComponent<TestComponent>(0); 1023builder.OpenComponent<TestComponent>(0); 1043builder.OpenComponent<TestComponent>(0); 1142builder.OpenComponent<TestComponent>(0); 1161builder.OpenComponent<TestComponent>(0); 1238builder.OpenComponent<TestComponent>(0); 1258builder.OpenComponent<TestComponent>(0); 1335builder.OpenComponent<TestComponent>(0); 1355builder.OpenComponent<TestComponent>(0); 1410builder.OpenComponent<TestComponent>(0); 1446builder.OpenComponent<TestComponent>(0); 1486builder.OpenComponent<TestComponent>(0); 1526builder.OpenComponent<TestComponent>(0); 1603builder.OpenComponent<TestComponent>(0); 1722builder.OpenComponent<TestComponent>(0); 1798builder.OpenComponent<TestComponent>(0); 1913builder.OpenComponent<TestComponent>(0); 1937builder.OpenComponent<TestComponent>(0); 2028builder.OpenComponent<OtherComponent>(2); 2059builder.OpenComponent<OtherComponent>(0); 2060builder.OpenComponent<OtherComponent>(1); 2090builder.OpenComponent<TestComponent>(0); 2111builder.OpenComponent<TestComponent>(0); 2150builder.OpenComponent<TestComponent>(0); 2171builder.OpenComponent<TestComponent>(0); 2208builder.OpenComponent<TestComponent>(0);
RenderTreeDiffBuilderTest.cs (40)
65builder.OpenComponent<FakeComponent>(0); 211oldTree.OpenComponent<CaptureSetParametersComponent>(0); 219newTree.OpenComponent<CaptureSetParametersComponent>(0); 224newTree.OpenComponent<CaptureSetParametersComponent>(0); 252oldTree.OpenComponent<FakeComponent>(0); 257oldTree.OpenComponent<FakeComponent>(0); 267newTree.OpenComponent<FakeComponent>(0); 290oldTree.OpenComponent<FakeComponent>(0); 295oldTree.OpenComponent<FakeComponent>(2); 304newTree.OpenComponent<FakeComponent>(2); 322oldTree.OpenComponent<FakeComponent>(1); 330newTree.OpenComponent<FakeComponent>(0); 334newTree.OpenComponent<FakeComponent>(1); 351oldTree.OpenComponent<FakeComponent>(0); 361newTree.OpenComponent<FakeComponent>(0); 810oldTree.OpenComponent<FakeComponent>(123); 814newTree.OpenComponent<FakeComponent2>(123); 1556newTree.OpenComponent<FakeComponent>(12); // 2: <FakeComponent> 1558newTree.OpenComponent<FakeComponent2>(13); // 3: <FakeComponent2> 1589newTree.OpenComponent<FakeComponent>(0); 1615oldTree.OpenComponent<FakeComponent>(12); // 2: <FakeComponent> 1617oldTree.OpenComponent<FakeComponent2>(13); // 3: <FakeComponent2> 1622newTree.OpenComponent<FakeComponent>(12); // 2: <FakeComponent> 1624newTree.OpenComponent<FakeComponent2>(13); // 3: <FakeComponent2> 1705oldTree.OpenComponent<FakeComponent>(12); 1709newTree.OpenComponent<FakeComponent>(12); 1744tree.OpenComponent<CaptureSetParametersComponent>(0); 1794tree.OpenComponent<CaptureSetParametersComponent>(0); 1816oldTree.OpenComponent<DisposableComponent>(10); // <DisposableComponent> 1818oldTree.OpenComponent<NonDisposableComponent>(20); // <NonDisposableComponent> 1820oldTree.OpenComponent<DisposableComponent>(30); // <DisposableComponent> 1822newTree.OpenComponent<DisposableComponent>(30); // <DisposableComponent> 1911newTree.OpenComponent<FakeComponent>(0); 1950oldTree.OpenComponent<FakeComponent>(0); 1953newTree.OpenComponent<FakeComponent>(0); 2024oldTree.OpenComponent<CaptureSetParametersComponent>(0); 2031oldTree.OpenComponent<CaptureSetParametersComponent>(0); 2040newTree.OpenComponent<CaptureSetParametersComponent>(0); 2047newTree.OpenComponent<CaptureSetParametersComponent>(0); 2198oldTree.OpenComponent<FakeComponent>(0);
Microsoft.AspNetCore.Components.Web (9)
Forms\EditForm.cs (3)
167builder.OpenComponent<CascadingValue<EditContext>>(7); 182builder.OpenComponent<FormMappingValidator>(1); 186builder.OpenComponent<AntiforgeryToken>(3);
Forms\InputRadioGroup.cs (1)
75builder.OpenComponent<CascadingValue<InputRadioContext>>(0);
Head\HeadContent.cs (1)
23builder.OpenComponent<SectionContent>(0);
Head\HeadOutlet.cs (3)
39builder.OpenComponent<SectionOutlet>(0); 46builder.OpenComponent<SectionContent>(2); 54builder.OpenComponent<SectionOutlet>(6);
Head\PageTitle.cs (1)
23builder.OpenComponent<SectionContent>(0);
Microsoft.AspNetCore.Components.Web.Tests (18)
Forms\EditFormTest.cs (2)
244builder.OpenComponent<FormMappingScope>(0); 256builder.OpenComponent<EditForm>(0);
Forms\InputRadioTest.cs (4)
80builder.OpenComponent<TestInputRadio>(0); 89builder.OpenComponent<InputRadioGroup<TestEnum>>(0); 96childBuilder.OpenComponent<TestInputRadio>(0); 144builder.OpenComponent<CascadingValue<EditContext>>(0);
Forms\Mapping\FormMappingScopeTest.cs (6)
32builder.OpenComponent<FormMappingScope>(0); 54b.OpenComponent<FormMappingScope>(0); 62builder.OpenComponent<FormMappingScope>(0); 84builder.OpenComponent<FormMappingScope>(0); 100builder.OpenComponent<FormMappingScope>(0); 119builder.OpenComponent<FormMappingScope>(0);
Forms\Mapping\SupplyParameterFromFormTest.cs (1)
42builder.OpenComponent<FormParametersComponentWithName>(0);
Forms\TestInputHostComponent.cs (2)
24builder.OpenComponent<CascadingValue<EditContext>>(0); 28childBuilder.OpenComponent<TComponent>(0);
HtmlRendering\HtmlRendererTest.cs (2)
1088rtb.OpenComponent<FormMappingScope>(0); 1235builder.OpenComponent<NestedAsyncComponent>(2);
Virtualization\VirtualizeTest.cs (1)
115builder.OpenComponent<Virtualize<TItem>>(0);