2 implementations of IPublishingActivityProgressReporter
Aspire.Hosting (2)
Publishing\NullPublishingActivityProgressReporter.cs (1)
12
public sealed class NullPublishingActivityProgressReporter :
IPublishingActivityProgressReporter
Publishing\PublishingActivityProgressReporter.cs (1)
357
internal sealed class PublishingActivityProgressReporter :
IPublishingActivityProgressReporter
, IAsyncDisposable
18 references to IPublishingActivityProgressReporter
Aspire.Hosting (12)
DistributedApplicationBuilder.cs (1)
385
_innerBuilder.Services.AddSingleton<
IPublishingActivityProgressReporter
, PublishingActivityProgressReporter>(sp => sp.GetRequiredService<PublishingActivityProgressReporter>());
DistributedApplicationRunner.cs (1)
16
internal sealed class DistributedApplicationRunner(ILogger<DistributedApplicationRunner> logger, IHostApplicationLifetime lifetime, DistributedApplicationExecutionContext executionContext, DistributedApplicationModel model, IServiceProvider serviceProvider,
IPublishingActivityProgressReporter
activityReporter, IDistributedApplicationEventing eventing, BackchannelService backchannelService) : BackgroundService
Publishing\DeployingContext.cs (3)
29
private
IPublishingActivityProgressReporter
? _progressReporter;
49
public
IPublishingActivityProgressReporter
ProgressReporter => _progressReporter ??=
50
Services.GetRequiredService<
IPublishingActivityProgressReporter
>();
Publishing\Publisher.cs (1)
13
IPublishingActivityProgressReporter
progressReporter,
Publishing\PublishingActivityProgressReporter.cs (2)
92
internal
IPublishingActivityProgressReporter
? Reporter { get; set; }
219
internal
IPublishingActivityProgressReporter
? Reporter { get; set; }
Publishing\PublishingContext.cs (3)
29
private
IPublishingActivityProgressReporter
? _progressReporter;
48
public
IPublishingActivityProgressReporter
ProgressReporter => _progressReporter ??=
49
Services.GetRequiredService<
IPublishingActivityProgressReporter
>();
Publishing\ResourceContainerImageBuilder.cs (1)
42
IPublishingActivityProgressReporter
activityReporter) : IResourceContainerImageBuilder
Aspire.Hosting.Azure (2)
AzurePublishingContext.cs (2)
28
IPublishingActivityProgressReporter
progressReporter)
32
private
IPublishingActivityProgressReporter
ProgressReporter => progressReporter;
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
29
IPublishingActivityProgressReporter
progressReporter,
Aspire.Hosting.Tests (3)
PublishingTests.cs (3)
286
Assert.IsAssignableFrom<
IPublishingActivityProgressReporter
>(context.ProgressReporter);
289
var
reporter1 = context.ProgressReporter;
290
var
reporter2 = context.ProgressReporter;