1 interface inheriting from IDistributedApplicationEvent
Aspire.Hosting (1)
Eventing\IDistributedApplicationEvent.cs (1)
18public interface IDistributedApplicationResourceEvent : IDistributedApplicationEvent
1 implementation of IDistributedApplicationEvent
Aspire.Hosting.Tests (1)
Eventing\DistributedApplicationBuilderEventingTests.cs (1)
268public class DummyEvent : IDistributedApplicationEvent
11 references to IDistributedApplicationEvent
Aspire.Hosting (11)
ApplicationModel\AfterEndpointsAllocatedEvent.cs (1)
29public class AfterEndpointsAllocatedEvent(IServiceProvider services, DistributedApplicationModel model) : IDistributedApplicationEvent
ApplicationModel\AfterResourcesCreatedEvent.cs (1)
29public class AfterResourcesCreatedEvent(IServiceProvider services, DistributedApplicationModel model) : IDistributedApplicationEvent
ApplicationModel\BeforeStartEvent.cs (1)
29public class BeforeStartEvent(IServiceProvider services, DistributedApplicationModel model) : IDistributedApplicationEvent
Eventing\DistributedApplicationEventing.cs (3)
17public Task PublishAsync<T>(T @event, CancellationToken cancellationToken = default) where T : IDistributedApplicationEvent 24public async Task PublishAsync<T>(T @event, EventDispatchBehavior dispatchBehavior, CancellationToken cancellationToken = default) where T : IDistributedApplicationEvent 77public DistributedApplicationEventSubscription Subscribe<T>(Func<T, CancellationToken, Task> callback) where T : IDistributedApplicationEvent
Eventing\DistributedApplicationEventSubscription.cs (2)
12public class DistributedApplicationEventSubscription(Func<IDistributedApplicationEvent, CancellationToken, Task> callback) 17public Func<IDistributedApplicationEvent, CancellationToken, Task> Callback { get; } = callback;
Eventing\IDistributedApplicationEventing.cs (3)
19DistributedApplicationEventSubscription Subscribe<T>(Func<T, CancellationToken, Task> callback) where T : IDistributedApplicationEvent; 44Task PublishAsync<T>(T @event, CancellationToken cancellationToken = default) where T : IDistributedApplicationEvent; 55Task PublishAsync<T>(T @event, EventDispatchBehavior dispatchBehavior, CancellationToken cancellationToken = default) where T : IDistributedApplicationEvent;