97 references to CreateUnbounded
Aspire.Components.Common.Tests (1)
ActivityNotifier.cs (1)
16private readonly Channel<Activity> _activityChannel = Channel.CreateUnbounded<Activity>();
Aspire.Dashboard.Components.Tests (4)
Pages\ConsoleLogsTests.cs (4)
37var consoleLogsChannel = Channel.CreateUnbounded<IReadOnlyList<ResourceLogLine>>(); 38var resourceChannel = Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>(); 96var consoleLogsChannel = Channel.CreateUnbounded<IReadOnlyList<ResourceLogLine>>(); 97var resourceChannel = Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>();
Aspire.Dashboard.Tests (10)
ChannelExtensionsTests.cs (6)
19var channel = Channel.CreateUnbounded<IReadOnlyList<string>>(); 43var channel = Channel.CreateUnbounded<IReadOnlyList<string>>(); 67var channel = Channel.CreateUnbounded<IReadOnlyList<string>>(); 68var resultChannel = Channel.CreateUnbounded<IReadOnlyList<IReadOnlyList<string>>>(); 111var channel = Channel.CreateUnbounded<IReadOnlyList<string>>(); 112var resultChannel = Channel.CreateUnbounded<IReadOnlyList<IReadOnlyList<string>>>();
Integration\DashboardClientAuthTests.cs (1)
161public Channel<ReceivedCallInfo<ApplicationInformationRequest>> ApplicationInformationCallsChannel { get; } = Channel.CreateUnbounded<ReceivedCallInfo<ApplicationInformationRequest>>();
ResourceOutgoingPeerResolverTests.cs (2)
123var sourceChannel = Channel.CreateUnbounded<ResourceViewModelChange>(); 124var resultChannel = Channel.CreateUnbounded<int>();
TelemetryRepositoryTests\LogTests.cs (1)
713var resultChannel = Channel.CreateUnbounded<int>();
Aspire.Hosting (4)
ApplicationModel\ResourceLoggerService.cs (3)
170var channel = Channel.CreateUnbounded<IReadOnlyList<LogLine>>(); 221var channel = Channel.CreateUnbounded<LogSubscriber>(); 365var channel = Channel.CreateUnbounded<LogEntry>();
ApplicationModel\ResourceNotificationService.cs (1)
310var channel = Channel.CreateUnbounded<ResourceEvent>();
Aspire.Hosting.Tests (6)
Dashboard\DashboardLifecycleHookTests.cs (1)
38var logChannel = Channel.CreateUnbounded<WriteContext>();
Dcp\ApplicationExecutorTests.cs (1)
445var logStreamPipesChannel = Channel.CreateUnbounded<(string Type, Pipe Pipe)>();
Dcp\TestKubernetesService.cs (1)
106var chan = Channel.CreateUnbounded<(WatchEventType, CustomResource)>();
Health\ResourceHealthCheckServiceTests.cs (1)
134var channel = Channel.CreateUnbounded<DateTimeOffset>();
Utils\Grpc\TestAsyncStreamReader.cs (1)
18_channel = Channel.CreateUnbounded<T>();
Utils\Grpc\TestServerStreamWriter.cs (1)
18_channel = Channel.CreateUnbounded<T>();
ClientSample (2)
UploadSample.cs (2)
44var channel = Channel.CreateUnbounded<string>(); 85var channel = Channel.CreateUnbounded<string>();
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
46_serverReceivedSettings = Channel.CreateUnbounded<KeyValuePair<Http3SettingType, long>>();
TestTransport\InMemoryTransportFactory.cs (1)
15private readonly Channel<ConnectionContext> _acceptQueue = Channel.CreateUnbounded<ConnectionContext>();
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (1)
src\Shared\EventSource.Testing\TestCounterListener.cs (1)
27_counters[item] = Channel.CreateUnbounded<double>();
Microsoft.AspNetCore.Hosting.Tests (1)
src\Shared\EventSource.Testing\TestCounterListener.cs (1)
27_counters[item] = Channel.CreateUnbounded<double>();
Microsoft.AspNetCore.Http.Connections.Tests (2)
TestWebSocketConnectionFeature.cs (2)
40var clientToServer = Channel.CreateUnbounded<WebSocketMessage>(); 41var serverToClient = Channel.CreateUnbounded<WebSocketMessage>();
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\WebTransport\WebTransportSession.cs (1)
52_pendingStreams = Channel.CreateUnbounded<WebTransportStream>();
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (1)
46_serverReceivedSettings = Channel.CreateUnbounded<KeyValuePair<Http3SettingType, long>>();
Microsoft.AspNetCore.SignalR.Client.Core (2)
HubConnectionExtensions.StreamAsChannelAsync.cs (1)
277var outputChannel = Channel.CreateUnbounded<TResult>();
Internal\InvocationRequest.cs (1)
81private readonly Channel<object?> _channel = Channel.CreateUnbounded<object?>();
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (11)
HubConnectionTests.cs (1)
2925private readonly Channel<(SendOrPostCallback, object)> _taskQueue = Channel.CreateUnbounded<(SendOrPostCallback, object)>();
HubConnectionTests.Tracing.cs (7)
35var serverChannel = Channel.CreateUnbounded<Activity>(); 36var clientChannel = Channel.CreateUnbounded<Activity>(); 229var serverChannel = Channel.CreateUnbounded<Activity>(); 374var serverChannel = Channel.CreateUnbounded<Activity>(); 477var serverChannel = Channel.CreateUnbounded<Activity>(); 573var serverChannel = Channel.CreateUnbounded<Activity>(); 663var serverChannel = Channel.CreateUnbounded<Activity>();
Hubs.cs (3)
227var channel = Channel.CreateUnbounded<int>(); 252var output = Channel.CreateUnbounded<string>(); 276var output = Channel.CreateUnbounded<int>();
Microsoft.AspNetCore.SignalR.Client.Tests (16)
HubConnectionTests.cs (8)
438var channel = Channel.CreateUnbounded<int>(); 478var channel = Channel.CreateUnbounded<int>(); 509var channel = Channel.CreateUnbounded<object>(); 554var channel = Channel.CreateUnbounded<int>(); 586var channel = Channel.CreateUnbounded<int>(); 611var channel = Channel.CreateUnbounded<int>(); 645var channel = Channel.CreateUnbounded<int>(); 678var channel = Channel.CreateUnbounded<int>();
HubServerProxyGeneratorTests.cs (8)
174var channel = Channel.CreateUnbounded<object>(); 175var channelForEnumerable = Channel.CreateUnbounded<int>(); 216var channel = Channel.CreateUnbounded<int>(); 218var channelForEnumerable = Channel.CreateUnbounded<int>(); 257var argChannel = Channel.CreateUnbounded<float>(); 258var retChannel = Channel.CreateUnbounded<object>(); 260var argChannelForEnumerable = Channel.CreateUnbounded<float>(); 262var retChannelForEnumerable = Channel.CreateUnbounded<int>();
Microsoft.AspNetCore.SignalR.Microbenchmarks (4)
DefaultHubDispatcherBenchmark.cs (4)
136var channel = Channel.CreateUnbounded<int>(); 144var channel = Channel.CreateUnbounded<int>(); 152var channel = Channel.CreateUnbounded<int>(); 160var channel = Channel.CreateUnbounded<int>();
Microsoft.AspNetCore.SignalR.Tests (18)
HubConnectionHandlerTests.Activity.cs (8)
22var serverChannel = Channel.CreateUnbounded<Activity>(); 97var serverChannel = Channel.CreateUnbounded<Activity>(); 169var serverChannel = Channel.CreateUnbounded<Activity>(); 228var serverChannel = Channel.CreateUnbounded<Activity>(); 301var serverChannel = Channel.CreateUnbounded<Activity>(); 348var serverChannel = Channel.CreateUnbounded<Activity>(); 400var serverChannel = Channel.CreateUnbounded<Activity>(); 451var serverChannel = Channel.CreateUnbounded<Activity>();
HubConnectionHandlerTestUtils\Hubs.cs (8)
293var channel = Channel.CreateUnbounded<string>(); 704var channel = Channel.CreateUnbounded<string>(); 773return Channel.CreateUnbounded<string>().Reader; 778var channel = Channel.CreateUnbounded<int>(); 785var channel = Channel.CreateUnbounded<int>(); 792var channel = Channel.CreateUnbounded<int>(); 814Channel<string> output = Channel.CreateUnbounded<string>(); 1030return Channel.CreateUnbounded<string>().Reader;
NativeAotTests.cs (2)
249Channel<string> output = Channel.CreateUnbounded<string>(); 282Channel<char> output = Channel.CreateUnbounded<char>();
Microsoft.Extensions.ServiceDiscovery.Tests (1)
ServiceEndpointResolverTests.cs (1)
264var channel = Channel.CreateUnbounded<ServiceEndpointResolverResult>();
SignalR.Client.FunctionalTestApp (3)
TestHub.cs (3)
62var channel = Channel.CreateUnbounded<string>(); 72var channel = Channel.CreateUnbounded<string>(); 100var channel = Channel.CreateUnbounded<int>();
SignalRSamples (3)
Hubs\Streaming.cs (1)
32var channel = Channel.CreateUnbounded<int>();
Hubs\UploadHub.cs (1)
65var output = Channel.CreateUnbounded<string>();
ObservableExtensions.cs (1)
26var channel = maxBufferSize != null ? Channel.CreateBounded<T>(maxBufferSize.Value) : Channel.CreateUnbounded<T>();
Stress.ApiService (2)
ProducerConsumer.cs (1)
20private readonly Channel<Data> _channel = Channel.CreateUnbounded<Data>();
Program.cs (1)
135var channel = Channel.CreateUnbounded<string>();
System.Net.Quic (1)
System\Net\Quic\QuicListener.cs (1)
141_acceptQueue = Channel.CreateUnbounded<object>();
TestDiscoveryWorker (1)
Program.cs (1)
113_channel = Channel.CreateUnbounded<string>();