Implemented interface member:
property
Services
Aspire.Hosting.Eventing.IDistributedApplicationResourceEvent.Services
6 references to Services
Aspire.Hosting.DevTunnels (4)
DevTunnelResourceBuilderExtensions.cs (4)
718var portLogger = e.Services.GetRequiredService<ResourceLoggerService>().GetLogger(portResource); 719var notifications = e.Services.GetRequiredService<ResourceNotificationService>(); 720var eventing = e.Services.GetRequiredService<IDistributedApplicationEventing>(); 730await eventing.PublishAsync<ResourceStoppedEvent>(new(portResource, e.Services, new(portResource, portResource.Name, stoppedSnapshot!)), ct).ConfigureAwait(false);
Aspire.Hosting.Tests (2)
Eventing\DistributedApplicationBuilderEventingTests.cs (2)
280Assert.NotNull(evt.Services); 319Assert.NotNull(e.Services);