10 implementations of IPipelineActivityReporter
Aspire.Hosting (2)
Pipelines\NullPipelineActivityReporter.cs (1)
11public sealed class NullPublishingActivityReporter : IPipelineActivityReporter
Pipelines\PipelineActivityReporter.cs (1)
14internal sealed class PipelineActivityReporter : IPipelineActivityReporter, IAsyncDisposable
Aspire.Hosting.Azure.Kubernetes.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Azure.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Docker.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Foundry.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Java.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Kubernetes.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Rust.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
76 references to IPipelineActivityReporter
Aspire.Hosting (8)
DistributedApplicationBuilder.cs (1)
626_innerBuilder.Services.AddSingleton<IPipelineActivityReporter, PipelineActivityReporter>(sp => sp.GetRequiredService<PipelineActivityReporter>());
Pipelines\DistributedApplicationPipeline.cs (4)
851var activityReporter = context.Services.GetRequiredService<IPipelineActivityReporter>(); 962var activityReporter = context.Services.GetRequiredService<IPipelineActivityReporter>();
Pipelines\NullPipelineActivityReporter.cs (1)
9/// A no-op implementation of <see cref="IPipelineActivityReporter"/> for testing purposes.
Publishing\PipelineExecutor.cs (2)
21IPipelineActivityReporter activityReporter, 24IPipelineActivityReporter pipelineActivityReporter,
Aspire.Hosting.Azure (1)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (1)
27IPipelineActivityReporter activityReporter) : BaseProvisioningContextProvider(
Aspire.Hosting.Azure.Kubernetes.Tests (3)
AzureKubernetesTestBuilder.cs (2)
25IPipelineActivityReporter? activityReporter = null, 34builder.Services.AddSingleton<IPipelineActivityReporter>(activityReporter ?? new TestPipelineActivityReporter(outputHelper));
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Azure.Tests (9)
AzureAppServiceTests.cs (6)
218builder.Services.AddSingleton<IPipelineActivityReporter, TestPipelineActivityReporter>(); 234var reporter = app.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 259builder.Services.AddSingleton<IPipelineActivityReporter, TestPipelineActivityReporter>(); 270var reporter = app.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 291builder.Services.AddSingleton<IPipelineActivityReporter, TestPipelineActivityReporter>(); 304var reporter = app.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter;
AzureContainerAppExpressEndpointTests.cs (1)
202builder.Services.AddSingleton<IPipelineActivityReporter>(reporter);
AzureDeployerTests.cs (1)
1548IPipelineActivityReporter? activityReporter = null,
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Docker.Tests (9)
DockerComposeTests.cs (8)
376builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 423builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 758builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 806builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 973builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1010builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1042deployBuilder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1066destroyBuilder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter);
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Foundry.Tests (2)
PromptAgentTests.cs (1)
624builder.Services.AddSingleton<IPipelineActivityReporter>(activityReporter);
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Java.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.JavaScript.Tests (2)
AddJavaScriptAppTests.cs (1)
251builder.Services.AddSingleton<IPipelineActivityReporter, NullPublishingActivityReporter>();
AddViteAppTests.cs (1)
1079builder.Services.AddSingleton<IPipelineActivityReporter, NullPublishingActivityReporter>();
Aspire.Hosting.Kubernetes.Tests (28)
KubernetesDeployTests.cs (25)
312builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 353builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 393builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 434builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 474builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 509builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 594builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 916builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1135builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1168builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1314builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1385builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1504builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1558builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1604builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1649builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1741builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1778builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1813builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1849builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1906builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1937builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1977builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 2022builder.Services.AddSingleton<IPipelineActivityReporter>(reporter); 2070builder.Services.AddSingleton<IPipelineActivityReporter>(reporter);
KubernetesPublisherTests.cs (2)
1061builder.Services.AddSingleton<IPipelineActivityReporter>(reporter); 1087builder.Services.AddSingleton<IPipelineActivityReporter>(reporter);
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Rust.Tests (3)
AddRustAppPublishTests.cs (2)
403builder.Services.AddSingleton<IPipelineActivityReporter>(reporter); 440builder.Services.AddSingleton<IPipelineActivityReporter>(reporter);
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Tests (10)
Pipelines\CorePipelineApiTests.cs (1)
28[InlineData(typeof(IPipelineActivityReporter))]
Pipelines\DistributedApplicationPipelineTests.cs (8)
898var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 1181var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 1231var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 1268var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 1325var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 1386var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 2557IPipelineActivityReporter? activityReporter = null) 2572builder.Services.AddSingleton<IPipelineActivityReporter, TestPipelineActivityReporter>();
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.