64 references to ComponentId
Microsoft.AspNetCore.Components.Authorization.Tests (9)
AuthorizeViewTest.cs (4)
202.GetComponentFrames<AuthorizeView>().Single().ComponentId; 267var authorizeViewComponentId = batch1.GetComponentFrames<AuthorizeView>().Single().ComponentId; 310var authorizeViewComponentId = Assert.Single(batch1.GetComponentFrames<AuthorizeView>()).ComponentId; 368var authorizeViewComponentId = batch1.GetComponentFrames<AuthorizeView>().Single().ComponentId;
CascadingAuthenticationStateTest.cs (3)
53var receiveAuthStateId = batch.GetComponentFrames<ReceiveAuthStateComponent>().Single().ComponentId; 87var receiveAuthStateId = receiveAuthStateFrame.ComponentId; 134.GetComponentFrames<ReceiveAuthStateComponent>().Single().ComponentId;
src\Components\Shared\test\AssertFrame.cs (1)
99Assert.Equal(componentId, frame.ComponentId);
src\Components\Shared\test\CapturedBatch.cs (1)
23=> GetComponentFrames<T>().SelectMany(f => DiffsByComponentId[f.ComponentId]);
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\EndpointHtmlRenderer.Streaming.cs (1)
250var componentId = componentFrame.ComponentId;
Microsoft.AspNetCore.Components.Forms.Tests (2)
src\Components\Shared\test\AssertFrame.cs (1)
99Assert.Equal(componentId, frame.ComponentId);
src\Components\Shared\test\CapturedBatch.cs (1)
23=> GetComponentFrames<T>().SelectMany(f => DiffsByComponentId[f.ComponentId]);
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
166_binaryWriter.Write(frame.ComponentId);
Microsoft.AspNetCore.Components.Tests (38)
CascadingParameterTest.cs (1)
903componentId = componentFrame.ComponentId;
LayoutViewTest.cs (4)
75var rootLayoutComponentId = batch.GetComponentFrames<RootLayout>().Single().ComponentId; 105var rootLayoutComponentId = batch.GetComponentFrames<RootLayout>().Single().ComponentId; 137var rootLayoutComponentId = batch.GetComponentFrames<RootLayout>().Single().ComponentId; 146var nestedLayoutComponentId = batch.GetComponentFrames<NestedLayout>().Single().ComponentId;
RendererTest.cs (26)
76var nestedComponentId = componentFrame.ComponentId; 146var nestedComponentId = nestedComponentFrame.ComponentId; 802var nestedComponentId = nestedComponentFrame.ComponentId; 980var nestedComponentId = nestedComponentFrame.ComponentId; 2066Assert.False(batch.DiffsByComponentId.ContainsKey(nestedComponentFrame.ComponentId)); 2127.ComponentId; 2165.ComponentId; 2205.ComponentId; 2243.Select(frame => frame.ComponentId) 2245var childComponent3 = batch.ReferenceFrames.Where(f => f.ComponentId == 3) 2646var childComponentId = childComponentFrame.ComponentId; 2647var childComponentDiff = batch.DiffsByComponentId[childComponentFrame.ComponentId].Single(); 2773var childComponentId = childComponentFrame.ComponentId; 2774var childComponentDiff = batch.DiffsByComponentId[childComponentFrame.ComponentId].Single(); 2861var childComponentId = childComponentFrame.ComponentId; 3052.Where(f => f.ComponentId != 0) 3054.ComponentId; 4562var errorThrowingComponentId = batch.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId; 4592.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId; 4629.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId; 4667.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId; 4706.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId; 4755.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId; 4817nestedDisposableComponentFrame.ComponentId, 4818nestedAsyncDisposableComponentFrame.ComponentId, 4884renderer.RemoveRootComponent(nestedComponentFrame.ComponentId));
RenderTreeDiffBuilderTest.cs (2)
1641Assert.Equal(0, newFrame1.ComponentId); 1642Assert.Equal(1, newFrame2.ComponentId);
RouteViewTest.cs (3)
69var layoutViewComponentId = batch.GetComponentFrames<LayoutView>().Single().ComponentId; 76var testLayoutComponentId = batch.GetComponentFrames<TestLayout>().Single().ComponentId; 86var pageComponentId = batch.GetComponentFrames<ComponentWithLayout>().Single().ComponentId;
src\Components\Shared\test\AssertFrame.cs (1)
99Assert.Equal(componentId, frame.ComponentId);
src\Components\Shared\test\CapturedBatch.cs (1)
23=> GetComponentFrames<T>().SelectMany(f => DiffsByComponentId[f.ComponentId]);
Microsoft.AspNetCore.Components.Web (1)
HtmlRendering\StaticHtmlRenderer.HtmlWriting.cs (1)
50WriteComponentHtml(componentFrame.ComponentId, output);
Microsoft.AspNetCore.Components.Web.Tests (10)
Forms\EditFormTest.cs (3)
114.GetComponentFrames<EditForm>().Single().ComponentId; 145.GetComponentFrames<EditForm>().Single().ComponentId; 195.GetComponentFrames<EditForm>().Single().ComponentId;
Forms\InputBaseTest.cs (4)
382var inputComponentId = componentFrame1.ComponentId; 450var inputComponentId = componentFrame1.ComponentId; 485var inputComponentId = componentFrame1.ComponentId; 513var inputComponentId = componentFrame1.ComponentId;
Forms\InputNumberTest.cs (1)
101return batch.GetComponentFrames<TestInputNumberComponent>().Single().ComponentId;
src\Components\Shared\test\AssertFrame.cs (1)
99Assert.Equal(componentId, frame.ComponentId);
src\Components\Shared\test\CapturedBatch.cs (1)
23=> GetComponentFrames<T>().SelectMany(f => DiffsByComponentId[f.ComponentId]);
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
166_binaryWriter.Write(frame.ComponentId);
Microsoft.AspNetCore.Components.WebView.Test (1)
Infrastructure\TestDocument.cs (1)
264var childComponentId = frame.ComponentId;