1 implementation of IDistributedApplicationEventing
Aspire.Hosting (1)
Eventing\DistributedApplicationEventing.cs (1)
10
public class DistributedApplicationEventing :
IDistributedApplicationEventing
17 references to IDistributedApplicationEventing
Aspire.Hosting (13)
Dcp\ApplicationExecutor.cs (1)
81
IDistributedApplicationEventing
eventing,
DistributedApplication.cs (2)
350
var
eventing = _host.Services.GetRequiredService<
IDistributedApplicationEventing
>();
DistributedApplicationBuilder.cs (2)
79
public
IDistributedApplicationEventing
Eventing { get; } = new DistributedApplicationEventing();
205
_innerBuilder.Services.AddSingleton<
IDistributedApplicationEventing
>(Eventing);
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) : BackgroundService
IDistributedApplicationBuilder.cs (1)
77
public
IDistributedApplicationEventing
Eventing { get; }
Aspire.Hosting.Azure (1)
Provisioning\Provisioners\AzureProvisioner.cs (1)
38
IDistributedApplicationEventing
eventing
Aspire.Hosting.Tests (3)
Eventing\DistributedApplicationBuilderEventingTests.cs (2)
169
var
eventing = app.Services.GetRequiredService<
IDistributedApplicationEventing
>();
Utils\TestDistributedApplicationBuilder.cs (1)
134
public
IDistributedApplicationEventing
Eventing => _innerBuilder.Eventing;