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