22 instantiations of InteractionServiceConsumerState
Aspire.Hosting.Tests (22)
Dashboard\DashboardServiceDataTerminalTests.cs (1)
222new InteractionServiceConsumerState());
Dashboard\DashboardServiceTests.cs (12)
480new InteractionServiceConsumerState()); 552new InteractionServiceConsumerState()); 593new InteractionServiceConsumerState()); 631new ConfigurationBuilder().Build(), new TestInteractionFileUploadStore(), new InteractionServiceConsumerState()); 686new ConfigurationBuilder().Build(), new TestInteractionFileUploadStore(), new InteractionServiceConsumerState()); 752new InteractionServiceConsumerState()); 813new InteractionServiceConsumerState()); 852new InteractionServiceConsumerState()); 1238new InteractionServiceConsumerState()); 1278new InteractionServiceConsumerState()); 1343new InteractionServiceConsumerState()); 1914new InteractionServiceConsumerState());
InteractionServiceTests.cs (5)
193var consumerState = new InteractionServiceConsumerState(); 325new InteractionServiceConsumerState()); 354new InteractionServiceConsumerState()); 378new InteractionServiceConsumerState()); 1448consumerState ?? new InteractionServiceConsumerState());
Orchestrator\ApplicationOrchestratorTests.cs (1)
1712new InteractionServiceConsumerState());
Orchestrator\ParameterProcessorTests.cs (1)
1913new InteractionServiceConsumerState());
Publishing\PipelineActivityReporterTests.cs (1)
1401return new InteractionService(logger, new DistributedApplicationOptions(), provider, configuration, new TestInteractionFileUploadStore(), new InteractionServiceConsumerState());
Terminals\InteractionServiceTerminalTests.cs (1)
453new ConfigurationBuilder().Build(), new TestInteractionFileUploadStore(), new InteractionServiceConsumerState());
14 references to InteractionServiceConsumerState
Aspire.Hosting (5)
DistributedApplication.cs (1)
743if (_host.Services.GetService<InteractionServiceConsumerState>() is { } consumerState)
DistributedApplicationBuilder.cs (2)
425_innerBuilder.Services.AddSingleton<InteractionServiceConsumerState>(); 918host.Services.GetRequiredService<InteractionServiceConsumerState>().Ready = false;
InteractionService.cs (2)
35private readonly InteractionServiceConsumerState _consumerState; 37public InteractionService(ILogger<InteractionService> logger, DistributedApplicationOptions distributedApplicationOptions, IServiceProvider serviceProvider, IConfiguration configuration, IInteractionFileUploadStore fileUploadStore, InteractionServiceConsumerState consumerState)
Aspire.Hosting.Tests (9)
InteractionServiceTests.cs (8)
193var consumerState = new InteractionServiceConsumerState(); 235var consumerState = app.Services.GetRequiredService<InteractionServiceConsumerState>(); 258var consumerState = app.Services.GetRequiredService<InteractionServiceConsumerState>(); 275var consumerState = app.Services.GetRequiredService<InteractionServiceConsumerState>(); 1439private static InteractionService CreateInteractionService(DistributedApplicationOptions? options = null, IInteractionFileUploadStore? fileUploadStore = null, InteractionServiceConsumerState? consumerState = null)
ResourceCommandServiceTests.cs (1)
1330services.GetRequiredService<InteractionServiceConsumerState>()));