1 implementation of IDistributedApplicationEventing
Aspire.Hosting (1)
Eventing\DistributedApplicationEventing.cs (1)
10
public class DistributedApplicationEventing :
IDistributedApplicationEventing
25 references to IDistributedApplicationEventing
Aspire.Hosting (17)
Backchannel\AppHostRpcTarget.cs (1)
22
IDistributedApplicationEventing
eventing,
Backchannel\BackchannelService.cs (1)
14
internal sealed class BackchannelService(ILogger<BackchannelService> logger, IConfiguration configuration, AppHostRpcTarget appHostRpcTarget,
IDistributedApplicationEventing
eventing, IServiceProvider serviceProvider) : BackgroundService
DistributedApplication.cs (2)
454
var
eventing = _host.Services.GetRequiredService<
IDistributedApplicationEventing
>();
DistributedApplicationBuilder.cs (2)
86
public
IDistributedApplicationEventing
Eventing { get; } = new DistributedApplicationEventing();
236
_innerBuilder.Services.AddSingleton<
IDistributedApplicationEventing
>(Eventing);
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
Eventing\DistributedApplicationEventing.cs (6)
9
/// <inheritdoc cref="
IDistributedApplicationEventing
" />
15
/// <inheritdoc cref="
IDistributedApplicationEventing
.PublishAsync{T}(T, CancellationToken)" />
22
/// <inheritdoc cref="
IDistributedApplicationEventing
.PublishAsync{T}(T, CancellationToken)" />
76
/// <inheritdoc cref="
IDistributedApplicationEventing
.Subscribe{T}(Func{T, CancellationToken, Task})" />
105
/// <inheritdoc cref="
IDistributedApplicationEventing
.Subscribe{T}(Func{T, CancellationToken, Task})" />
119
/// <inheritdoc cref="
IDistributedApplicationEventing
.Unsubscribe(DistributedApplicationEventSubscription)" />
Health\ResourceHealthCheckService.cs (1)
14
internal class ResourceHealthCheckService(ILogger<ResourceHealthCheckService> logger, ResourceNotificationService resourceNotificationService, HealthCheckService healthCheckService, IServiceProvider services,
IDistributedApplicationEventing
eventing, TimeProvider timeProvider) : BackgroundService
IDistributedApplicationBuilder.cs (1)
77
public
IDistributedApplicationEventing
Eventing { get; }
Orchestrator\ApplicationOrchestrator.cs (2)
24
private readonly
IDistributedApplicationEventing
_eventing;
34
IDistributedApplicationEventing
eventing,
Aspire.Hosting.Azure (1)
Provisioning\Provisioners\AzureProvisioner.cs (1)
37
IDistributedApplicationEventing
eventing,
Aspire.Hosting.Testing (3)
DistributedApplicationTestingBuilder.cs (3)
219
public
IDistributedApplicationEventing
Eventing => innerBuilder.Eventing;
356
public
IDistributedApplicationEventing
Eventing => _innerBuilder.Eventing;
440
new
IDistributedApplicationEventing
Eventing => ((IDistributedApplicationBuilder)this).Eventing;
Aspire.Hosting.Tests (4)
DistributedApplicationTests.cs (2)
498
var
events = app.Services.GetRequiredService<
IDistributedApplicationEventing
>();
Eventing\DistributedApplicationBuilderEventingTests.cs (2)
169
var
eventing = app.Services.GetRequiredService<
IDistributedApplicationEventing
>();