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