Implemented interface members:
property
Count
System.Collections.Generic.IReadOnlyCollection<T>.Count
property
Count
System.Collections.ICollection.Count
22 references to Count
aspire-tray (5)
NativeSmokeHarness.cs (5)
183if (_client.Stops.Count != 1 || !state.AppHosts.Single(host => host.Id == _hosts[0].Id).IsStopping) 199Require(_errors == 1 && _client.Stops.Count == 1, "A stale action stopped a replacement lifetime."); 202Require(_client.Stops.Count == 2, "Stop did not send its request without a dialog."); 216if (_client.Starts.Count != 1 || _client.Stops.Count != 2)
Aspire.Cli.Tests (1)
Packaging\IntegrationSourceTests.cs (1)
306Assert.Equal(polyglot ? 7 : 3, queries.Count);
Aspire.Dashboard.Playwright.Tests (1)
tests\Aspire.Dashboard.Tests\Shared\TerminalTestProducer.cs (1)
37public int ConnectionCount => _connections.Count;
Aspire.Dashboard.Tests (1)
Shared\TerminalTestProducer.cs (1)
37public int ConnectionCount => _connections.Count;
Aspire.Hosting.Tests (11)
Pipelines\PipelineOutputDiffingTests.cs (4)
212Assert.Equal(4, hasher.Streams.Count); 759Assert.Equal(2, instances.Count); 811Assert.Equal(selectBoth ? 4 : 2, instances.Count); 812Assert.Equal(selectBoth ? 2 : 1, comparers.Count);
Pipelines\PipelineOutputSnapshotterTests.cs (3)
145Assert.Equal(2, streams.Count); 200Assert.Equal(workerCount, streams.Count); 302Assert.Equal(2, buffers.Count);
Publishing\DotnetProgramArchiveTests.cs (4)
116Assert.Equal(4, runtime.RemoveImageCalls.Count); 238Assert.Equal(2, runtime.RemoveImageCalls.Count); 271Assert.Equal(2, runtime.RemoveImageCalls.Count); 297Assert.Equal(2, runtime.RemoveImageCalls.Count);
ILCompiler.ReadyToRun (1)
Compiler\DependencyAnalysis\ReadyToRun\TypeValidationChecker.cs (1)
34loggingFunction($"{_typeLoadValidationErrors.Count} type validation errors");
Microsoft.ML.Core (1)
Utilities\ObjectPool.cs (1)
41public int Count => _pool.Count;
Microsoft.NET.Sdk.StaticWebAssets.Tasks (1)
Data\StaticWebAssetEndpoint.cs (1)
403var endpointItems = new ITaskItem[endpoints.Count];