1 implementation of IDistributedApplicationEventing
Aspire.Hosting (1)
Eventing\DistributedApplicationEventing.cs (1)
10public class DistributedApplicationEventing : IDistributedApplicationEventing
29 references to IDistributedApplicationEventing
Aspire.Hosting (20)
ApplicationModel\InitializeResourceEvent.cs (4)
13/// <param name="distributedApplicationEventing">The <see cref="IDistributedApplicationEventing"/> service for the app host.</param> 23IDistributedApplicationEventing distributedApplicationEventing, 32/// The <see cref="IDistributedApplicationEventing"/> service for the app host. 34public IDistributedApplicationEventing Eventing { get; } = distributedApplicationEventing;
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)
87public IDistributedApplicationEventing Eventing { get; } = new DistributedApplicationEventing(); 235_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; 35IDistributedApplicationEventing eventing,
Aspire.Hosting.Azure (1)
Provisioning\Provisioners\AzureProvisioner.cs (1)
36IDistributedApplicationEventing 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)
522var events = app.Services.GetRequiredService<IDistributedApplicationEventing>();
Eventing\DistributedApplicationBuilderEventingTests.cs (2)
169var eventing = app.Services.GetRequiredService<IDistributedApplicationEventing>();
CustomResources.AppHost (1)
TalkingClockResource.cs (1)
38var eventing = @event.Eventing; // Get the eventing service for publishing events.