1 write to DisposedComponentIDs
Microsoft.AspNetCore.Components.Tests (1)
src\Components\Shared\test\TestRenderer.cs (1)
126
capturedBatch.
DisposedComponentIDs
= renderBatch.DisposedComponentIDs.AsEnumerable().ToList();
20 references to DisposedComponentIDs
Microsoft.AspNetCore.Components.Tests (20)
LayoutViewTest.cs (2)
181
Assert.Empty(batch.
DisposedComponentIDs
);
223
Assert.Single(batch.
DisposedComponentIDs
); // Disposes NestedLayout
RendererTest.cs (18)
2256
Assert.Equal(new[] { 1, 3 }, renderer.Batches[1].
DisposedComponentIDs
);
2297
Assert.Equal(new[] { 1, 2 }, renderer.Batches[1].
DisposedComponentIDs
);
2333
Assert.Equal(new[] { 1, }, renderer.Batches[1].
DisposedComponentIDs
);
2367
Assert.Equal(new[] { 1, }, renderer.Batches[1].
DisposedComponentIDs
);
2407
Assert.Equal(new[] { 1, }, renderer.Batches[1].
DisposedComponentIDs
);
2451
Assert.Equal(new[] { 1, }, renderer.Batches[1].
DisposedComponentIDs
);
2491
Assert.Equal(new[] { 1, }, renderer.Batches[1].
DisposedComponentIDs
);
2529
Assert.Equal(new[] { 1, }, renderer.Batches[1].
DisposedComponentIDs
);
2592
Assert.Equal(new[] { 1, 2, 3 }, renderer.Batches[1].
DisposedComponentIDs
);
3068
Assert.Single(newBatch.
DisposedComponentIDs
);
3436
Assert.Single(batch2.
DisposedComponentIDs
); // Third child
4569
Assert.Equal(errorThrowingComponentId, batch.
DisposedComponentIDs
.Single());
4605
Assert.Equal(errorThrowingComponentId, renderer.Batches[1].
DisposedComponentIDs
.Single());
4645
Assert.Equal(errorThrowingComponentId, renderer.Batches[2].
DisposedComponentIDs
.Single());
4683
Assert.Equal(errorThrowingComponentId, renderer.Batches[1].
DisposedComponentIDs
.Single());
4727
Assert.Equal(errorThrowingComponentId, renderer.Batches[1].
DisposedComponentIDs
.Single());
4771
Assert.Contains(errorThrowingComponentId, renderer.Batches.Last().
DisposedComponentIDs
);
4819
}, batch.
DisposedComponentIDs
);