5 types derived from Channel
System.Threading.Channels (5)
464 references to Channel
aspire (11)
aspire-tray (1)
Aspire.Cli.Tests (21)
Aspire.Components.Common.TestUtilities (1)
Aspire.Confluent.Kafka (1)
Aspire.Dashboard (31)
Aspire.Dashboard.Components.Tests (140)
tests\Shared\TestDashboardClient.cs (18)
18private readonly Func<string, Channel<IReadOnlyList<ResourceLogLine>>>? _consoleLogsChannelProvider;
19private readonly Func<Channel<IReadOnlyList<ResourceViewModelChange>>>? _resourceChannelProvider;
20private readonly Func<Channel<WatchInteractionsResponseUpdate>>? _interactionChannelProvider;
21private readonly Func<Channel<WatchTerminalsUpdate>>? _terminalChannelProvider;
24private readonly Channel<ResourceCommandResponseViewModel>? _resourceCommandsChannel;
26private readonly Channel<WatchInteractionsRequestUpdate>? _sendInteractionUpdateChannel;
59Func<string, Channel<IReadOnlyList<ResourceLogLine>>>? consoleLogsChannelProvider = null,
60Func<Channel<IReadOnlyList<ResourceViewModelChange>>>? resourceChannelProvider = null,
61Func<Channel<WatchInteractionsResponseUpdate>>? interactionChannelProvider = null,
62Channel<ResourceCommandResponseViewModel>? resourceCommandsChannel = null,
64Channel<WatchInteractionsRequestUpdate>? sendInteractionUpdateChannel = null,
68Func<Channel<WatchTerminalsUpdate>>? terminalChannelProvider = null,
169var channel = _consoleLogsChannelProvider(resourceName);
184var channel = _consoleLogsChannelProvider(resourceName);
210var channel = _resourceChannelProvider();
215async IAsyncEnumerable<IReadOnlyList<ResourceViewModelChange>> BuildSubscription(Channel<IReadOnlyList<ResourceViewModelChange>> channel, [EnumeratorCancellation] CancellationToken cancellationToken)
238var channel = _interactionChannelProvider();
242async static IAsyncEnumerable<WatchInteractionsResponseUpdate> BuildSubscription(Channel<WatchInteractionsResponseUpdate> channel, [EnumeratorCancellation] CancellationToken cancellationToken)
Aspire.Dashboard.Playwright.Tests (27)
tests\Shared\TestDashboardClient.cs (18)
18private readonly Func<string, Channel<IReadOnlyList<ResourceLogLine>>>? _consoleLogsChannelProvider;
19private readonly Func<Channel<IReadOnlyList<ResourceViewModelChange>>>? _resourceChannelProvider;
20private readonly Func<Channel<WatchInteractionsResponseUpdate>>? _interactionChannelProvider;
21private readonly Func<Channel<WatchTerminalsUpdate>>? _terminalChannelProvider;
24private readonly Channel<ResourceCommandResponseViewModel>? _resourceCommandsChannel;
26private readonly Channel<WatchInteractionsRequestUpdate>? _sendInteractionUpdateChannel;
59Func<string, Channel<IReadOnlyList<ResourceLogLine>>>? consoleLogsChannelProvider = null,
60Func<Channel<IReadOnlyList<ResourceViewModelChange>>>? resourceChannelProvider = null,
61Func<Channel<WatchInteractionsResponseUpdate>>? interactionChannelProvider = null,
62Channel<ResourceCommandResponseViewModel>? resourceCommandsChannel = null,
64Channel<WatchInteractionsRequestUpdate>? sendInteractionUpdateChannel = null,
68Func<Channel<WatchTerminalsUpdate>>? terminalChannelProvider = null,
169var channel = _consoleLogsChannelProvider(resourceName);
184var channel = _consoleLogsChannelProvider(resourceName);
210var channel = _resourceChannelProvider();
215async IAsyncEnumerable<IReadOnlyList<ResourceViewModelChange>> BuildSubscription(Channel<IReadOnlyList<ResourceViewModelChange>> channel, [EnumeratorCancellation] CancellationToken cancellationToken)
238var channel = _interactionChannelProvider();
242async static IAsyncEnumerable<WatchInteractionsResponseUpdate> BuildSubscription(Channel<WatchInteractionsResponseUpdate> channel, [EnumeratorCancellation] CancellationToken cancellationToken)
Aspire.Dashboard.Tests (51)
tests\Shared\TestDashboardClient.cs (18)
18private readonly Func<string, Channel<IReadOnlyList<ResourceLogLine>>>? _consoleLogsChannelProvider;
19private readonly Func<Channel<IReadOnlyList<ResourceViewModelChange>>>? _resourceChannelProvider;
20private readonly Func<Channel<WatchInteractionsResponseUpdate>>? _interactionChannelProvider;
21private readonly Func<Channel<WatchTerminalsUpdate>>? _terminalChannelProvider;
24private readonly Channel<ResourceCommandResponseViewModel>? _resourceCommandsChannel;
26private readonly Channel<WatchInteractionsRequestUpdate>? _sendInteractionUpdateChannel;
59Func<string, Channel<IReadOnlyList<ResourceLogLine>>>? consoleLogsChannelProvider = null,
60Func<Channel<IReadOnlyList<ResourceViewModelChange>>>? resourceChannelProvider = null,
61Func<Channel<WatchInteractionsResponseUpdate>>? interactionChannelProvider = null,
62Channel<ResourceCommandResponseViewModel>? resourceCommandsChannel = null,
64Channel<WatchInteractionsRequestUpdate>? sendInteractionUpdateChannel = null,
68Func<Channel<WatchTerminalsUpdate>>? terminalChannelProvider = null,
169var channel = _consoleLogsChannelProvider(resourceName);
184var channel = _consoleLogsChannelProvider(resourceName);
210var channel = _resourceChannelProvider();
215async IAsyncEnumerable<IReadOnlyList<ResourceViewModelChange>> BuildSubscription(Channel<IReadOnlyList<ResourceViewModelChange>> channel, [EnumeratorCancellation] CancellationToken cancellationToken)
238var channel = _interactionChannelProvider();
242async static IAsyncEnumerable<WatchInteractionsResponseUpdate> BuildSubscription(Channel<WatchInteractionsResponseUpdate> channel, [EnumeratorCancellation] CancellationToken cancellationToken)
Aspire.Hosting (27)
Aspire.Hosting.Azure (1)
Aspire.Hosting.Azure.Tests (1)
Aspire.Hosting.Browsers.Tests (1)
Aspire.Hosting.DevTunnels (1)
Aspire.Hosting.DevTunnels.Tests (2)
Aspire.Hosting.Foundry (1)
Aspire.Hosting.Native.Core (1)
Aspire.Hosting.Native.Core.Tests (3)
Aspire.Hosting.Native.Server (1)
Aspire.Hosting.RemoteHost (1)
Aspire.Hosting.RemoteHost.Tests (1)
Aspire.Hosting.Tests (46)
Aspire.Hosting.TestUtilities (5)
Aspire.TerminalHost (1)
Aspire.Tray.Tests (5)
dotnet-aot (1)
dotnet-watch (1)
GenerateDocumentationAndConfigFiles (7)
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
Microsoft.AspNetCore.SignalR.Client.Core (5)
Microsoft.AspNetCore.SignalR.Core (3)
Microsoft.Build.Tasks.Core (2)
Microsoft.CodeAnalysis.Analyzers (6)
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
Microsoft.CodeAnalysis.CodeStyle (6)
Microsoft.CodeAnalysis.ResxSourceGenerator (6)
Microsoft.CodeAnalysis.Workspaces (7)
Microsoft.DotNet.HotReload.Utils.Generator (1)
Microsoft.DotNet.HotReload.Watch (1)
Microsoft.Extensions.AI (1)
Microsoft.Extensions.ServiceDiscovery.Tests (1)
Microsoft.ML.Data (3)
Microsoft.ML.Sweeper (1)
Roslyn.Diagnostics.Analyzers (6)
Stress.ApiService (2)
System.Diagnostics.Process (1)
System.IO.FileSystem.Watcher (1)
System.Net.Http (1)
System.Net.Quic (2)
System.Threading.Channels (7)