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