10 implementations of IPipelineActivityReporter
Aspire.Hosting (2)
Pipelines\NullPipelineActivityReporter.cs (1)
15public sealed class NullPublishingActivityReporter : IPipelineActivityReporter
Pipelines\PipelineActivityReporter.cs (1)
16internal sealed class PipelineActivityReporter : IPipelineActivityReporter, IAsyncDisposable
Aspire.Hosting.Azure.Kubernetes.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
15internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Azure.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
15internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Docker.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
15internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Foundry.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
15internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Java.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
15internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Kubernetes.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
15internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Rust.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
15internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
15internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
69 references to IPipelineActivityReporter
Aspire.Hosting (8)
DistributedApplicationBuilder.cs (1)
599_innerBuilder.Services.AddSingleton<IPipelineActivityReporter, PipelineActivityReporter>(sp => sp.GetRequiredService<PipelineActivityReporter>());
Pipelines\DistributedApplicationPipeline.cs (4)
895var activityReporter = context.Services.GetRequiredService<IPipelineActivityReporter>(); 1006var activityReporter = context.Services.GetRequiredService<IPipelineActivityReporter>();
Pipelines\NullPipelineActivityReporter.cs (1)
12/// A no-op implementation of <see cref="IPipelineActivityReporter"/> for testing purposes.
Publishing\PipelineExecutor.cs (2)
24IPipelineActivityReporter activityReporter, 27IPipelineActivityReporter pipelineActivityReporter,
Aspire.Hosting.Azure (1)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (1)
30IPipelineActivityReporter activityReporter) : BaseProvisioningContextProvider(
Aspire.Hosting.Azure.Kubernetes.Tests (2)
AzureKubernetesInfrastructureTests.cs (1)
177builder.Services.AddSingleton<IPipelineActivityReporter>(reporter);
tests\Shared\TestPipelineActivityReporter.cs (1)
13/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Azure.Tests (6)
AzureAppServiceTests.cs (4)
201builder.Services.AddSingleton<IPipelineActivityReporter, TestPipelineActivityReporter>(); 216var reporter = app.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 242builder.Services.AddSingleton<IPipelineActivityReporter, TestPipelineActivityReporter>(); 257var reporter = app.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter;
AzureDeployerTests.cs (1)
1489IPipelineActivityReporter? activityReporter = null,
tests\Shared\TestPipelineActivityReporter.cs (1)
13/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Docker.Tests (9)
DockerComposeTests.cs (8)
378builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 425builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 760builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 808builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 975builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1012builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1044deployBuilder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1068destroyBuilder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter);
tests\Shared\TestPipelineActivityReporter.cs (1)
13/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Foundry.Tests (2)
PromptAgentTests.cs (1)
626builder.Services.AddSingleton<IPipelineActivityReporter>(activityReporter);
tests\Shared\TestPipelineActivityReporter.cs (1)
13/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Java.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.JavaScript.Tests (2)
AddJavaScriptAppTests.cs (1)
252builder.Services.AddSingleton<IPipelineActivityReporter, NullPublishingActivityReporter>();
AddViteAppTests.cs (1)
1081builder.Services.AddSingleton<IPipelineActivityReporter, NullPublishingActivityReporter>();
Aspire.Hosting.Kubernetes.Tests (26)
KubernetesDeployTests.cs (23)
314builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 355builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 395builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 436builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 476builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 511builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 551builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 597builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 628builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 950builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1169builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1202builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1348builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1419builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1538builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1592builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1638builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1683builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1769builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1803builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1858builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1890builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1930builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter);
KubernetesPublisherTests.cs (2)
958builder.Services.AddSingleton<IPipelineActivityReporter>(reporter); 984builder.Services.AddSingleton<IPipelineActivityReporter>(reporter);
tests\Shared\TestPipelineActivityReporter.cs (1)
13/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Rust.Tests (3)
AddRustAppPublishTests.cs (2)
405builder.Services.AddSingleton<IPipelineActivityReporter>(reporter); 442builder.Services.AddSingleton<IPipelineActivityReporter>(reporter);
tests\Shared\TestPipelineActivityReporter.cs (1)
13/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Tests (9)
Pipelines\DistributedApplicationPipelineTests.cs (8)
900var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 1183var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 1233var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 1270var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 1327var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 1388var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 2431IPipelineActivityReporter? activityReporter = null) 2446builder.Services.AddSingleton<IPipelineActivityReporter, TestPipelineActivityReporter>();
tests\Shared\TestPipelineActivityReporter.cs (1)
13/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.