2 instantiations of ResourceStoppedEvent
Aspire.Hosting (1)
Orchestrator\ApplicationOrchestrator.cs (1)
335
await PublishEventToHierarchy(r => new
ResourceStoppedEvent
(r, _serviceProvider, currentResourceEvent), context.Resource, context.CancellationToken).ConfigureAwait(false);
Aspire.Hosting.Tests (1)
Eventing\DistributedApplicationBuilderEventingTests.cs (1)
303
var testEvent = new
ResourceStoppedEvent
(resource.Resource, app.Services, testResourceEvent);
3 references to ResourceStoppedEvent
Aspire.Hosting (2)
DistributedApplicationEventingExtensions.cs (2)
26
/// Subscribes a callback to the <see cref="
ResourceStoppedEvent
"/> event within the AppHost.
32
public static IResourceBuilder<T> OnResourceStopped<T>(this IResourceBuilder<T> builder, Func<T,
ResourceStoppedEvent
, CancellationToken, Task> callback)
Aspire.Hosting.Tests (1)
Eventing\DistributedApplicationBuilderEventingTests.cs (1)
303
var
testEvent = new ResourceStoppedEvent(resource.Resource, app.Services, testResourceEvent);