13 instantiations of InteractionService
Aspire.Hosting.Tests (13)
Dashboard\DashboardServiceTests.cs (6)
227
var interactionService = new
InteractionService
(
297
var interactionService = new
InteractionService
(
344
var interactionService = new
InteractionService
(
403
var interactionService = new
InteractionService
(
440
var interactionService = new
InteractionService
(
588
interactionService ??= new
InteractionService
(
InteractionServiceTests.cs (4)
214
var interactionService = new
InteractionService
(
241
var interactionService = new
InteractionService
(
263
var interactionService = new
InteractionService
(
1074
return new
InteractionService
(
Orchestrator\ApplicationOrchestratorTests.cs (1)
483
return new
InteractionService
(
Orchestrator\ParameterProcessorTests.cs (1)
780
return new
InteractionService
(
Publishing\PipelineActivityReporterTests.cs (1)
929
return new
InteractionService
(logger, new DistributedApplicationOptions(), provider, configuration);
88 references to InteractionService
Aspire.Hosting (25)
ApplicationModel\InputGeneratorAnnotation.cs (1)
12
[Experimental(
InteractionService
.DiagnosticId, UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
Dashboard\DashboardServiceData.cs (2)
22
private readonly
InteractionService
_interactionService;
30
InteractionService
interactionService)
Dashboard\DashboardServiceHost.cs (1)
60
InteractionService
interactionService)
DistributedApplicationBuilder.cs (2)
300
_innerBuilder.Services.AddSingleton<
InteractionService
>();
301
_innerBuilder.Services.AddSingleton<IInteractionService>(sp => sp.GetRequiredService<
InteractionService
>());
IInteractionService.cs (14)
16
[Experimental(
InteractionService
.DiagnosticId, UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
204
[Experimental(
InteractionService
.DiagnosticId, UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
231
[Experimental(
InteractionService
.DiagnosticId, UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
258
[Experimental(
InteractionService
.DiagnosticId, UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
350
[Experimental(
InteractionService
.DiagnosticId, UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
454
[Experimental(
InteractionService
.DiagnosticId, UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
482
[Experimental(
InteractionService
.DiagnosticId, UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
497
[Experimental(
InteractionService
.DiagnosticId, UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
539
[Experimental(
InteractionService
.DiagnosticId, UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
553
[Experimental(
InteractionService
.DiagnosticId, UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
577
[Experimental(
InteractionService
.DiagnosticId, UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
607
/// Optional configuration for interactions added with <see cref="
InteractionService
"/>.
609
[Experimental(
InteractionService
.DiagnosticId, UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
676
[Experimental(
InteractionService
.DiagnosticId, UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
InteractionService.cs (2)
23
private readonly ILogger<
InteractionService
> _logger;
28
public InteractionService(ILogger<
InteractionService
> logger, DistributedApplicationOptions distributedApplicationOptions, IServiceProvider serviceProvider, IConfiguration configuration)
ParameterResourceBuilderExtensions.cs (1)
193
[Experimental(
InteractionService
.DiagnosticId, UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
Pipelines\PipelineActivityReporter.cs (2)
20
private readonly
InteractionService
_interactionService;
25
public PipelineActivityReporter(
InteractionService
interactionService, ILogger<PipelineActivityReporter> logger)
Aspire.Hosting.Tests (63)
Dashboard\DashboardServiceTests.cs (12)
227
var
interactionService = new InteractionService(
228
loggerFactory.CreateLogger<
InteractionService
>(),
297
var
interactionService = new InteractionService(
298
loggerFactory.CreateLogger<
InteractionService
>(),
344
var
interactionService = new InteractionService(
345
loggerFactory.CreateLogger<
InteractionService
>(),
403
var
interactionService = new InteractionService(
404
loggerFactory.CreateLogger<
InteractionService
>(),
440
var
interactionService = new InteractionService(
441
loggerFactory.CreateLogger<
InteractionService
>(),
583
InteractionService
? interactionService = null)
589
NullLogger<
InteractionService
>.Instance,
InteractionServiceTests.cs (29)
22
var
interactionService = CreateInteractionService();
46
var
interactionService = CreateInteractionService();
71
var
interactionService = CreateInteractionService();
122
var
interactionService = CreateInteractionService();
165
var
interactionService = CreateInteractionService(options: new DistributedApplicationOptions { DisableDashboard = true });
180
var
interactionService = CreateInteractionService();
190
var
interactionService = CreateInteractionService(options: new DistributedApplicationOptions { DisableDashboard = true });
214
var
interactionService = new InteractionService(
215
NullLogger<
InteractionService
>.Instance,
241
var
interactionService = new InteractionService(
242
NullLogger<
InteractionService
>.Instance,
263
var
interactionService = new InteractionService(
264
NullLogger<
InteractionService
>.Instance,
276
var
interactionService = CreateInteractionService();
313
var
interactionService = CreateInteractionService();
336
var
interactionService = CreateInteractionService();
359
var
interactionService = CreateInteractionService();
380
var
interactionService = CreateInteractionService();
403
var
interactionService = CreateInteractionService();
436
var
interactionService = CreateInteractionService();
769
var
interactionService = CreateInteractionService();
813
var
interactionService = CreateInteractionService();
866
var
interactionService = CreateInteractionService();
931
var
interactionService = CreateInteractionService();
983
var
interactionService = CreateInteractionService();
1016
var
interactionService = CreateInteractionService();
1045
private static async Task CompleteInteractionAsync(
InteractionService
interactionService, int interactionId, InteractionCompletionState state, List<DashboardServiceData.InputDto>? inputs = null)
1071
private static
InteractionService
CreateInteractionService(DistributedApplicationOptions? options = null)
1075
NullLogger<
InteractionService
>.Instance,
Orchestrator\ApplicationOrchestratorTests.cs (2)
481
private static
InteractionService
CreateInteractionService(DistributedApplicationOptions? options = null)
484
NullLogger<
InteractionService
>.Instance,
Orchestrator\ParameterProcessorTests.cs (8)
49
var
interactionService = CreateInteractionService(disableDashboard: false);
105
var
interactionService = CreateInteractionService();
121
var
interactionService = CreateInteractionService(disableDashboard: true);
139
var
interactionService = CreateInteractionService(disableDashboard: false);
309
var
interactionService = CreateInteractionService();
636
var
interactionService = CreateInteractionService();
778
private static
InteractionService
CreateInteractionService(bool disableDashboard = false)
781
new NullLogger<
InteractionService
>(),
Pipelines\DistributedApplicationPipelineTests.cs (7)
776
var
interactionService = PublishingActivityReporterTests.CreateInteractionService();
1056
var
interactionService = PublishingActivityReporterTests.CreateInteractionService();
1120
var
interactionService = PublishingActivityReporterTests.CreateInteractionService();
1233
var
interactionService = PublishingActivityReporterTests.CreateInteractionService();
1294
var
interactionService = PublishingActivityReporterTests.CreateInteractionService();
1397
var
interactionService = PublishingActivityReporterTests.CreateInteractionService();
1992
var
interactionService = PublishingActivityReporterTests.CreateInteractionService();
Publishing\PipelineActivityReporterTests.cs (4)
18
private readonly
InteractionService
_interactionService = CreateInteractionService();
921
internal static
InteractionService
CreateInteractionService()
925
services.AddSingleton<
InteractionService
>();
927
var logger = provider.GetRequiredService<ILogger<
InteractionService
>>();
Publishing\PublishingExtensionsTests.cs (1)
13
private readonly
InteractionService
_interactionService = PublishingActivityReporterTests.CreateInteractionService();