Implemented interface member:
property
Services
Aspire.Hosting.Eventing.IDistributedApplicationResourceEvent.Services
8 references to Services
Aspire.Hosting.Browsers (1)
BrowserLogsBuilderExtensions.cs (1)
287
.OnResourceStopped((_, @event, _) => RefreshBrowserLogsResourceAsync(@event.
Services
.GetRequiredService<ResourceNotificationService>()));
Aspire.Hosting.Browsers.Tests (1)
src\Aspire.Hosting.Browsers\BrowserLogsBuilderExtensions.cs (1)
287
.OnResourceStopped((_, @event, _) => RefreshBrowserLogsResourceAsync(@event.
Services
.GetRequiredService<ResourceNotificationService>()));
Aspire.Hosting.DevTunnels (4)
DevTunnelResourceBuilderExtensions.cs (4)
781
var portLogger = e.
Services
.GetRequiredService<ResourceLoggerService>().GetLogger(portResource);
782
var notifications = e.
Services
.GetRequiredService<ResourceNotificationService>();
783
var eventing = e.
Services
.GetRequiredService<IDistributedApplicationEventing>();
794
await eventing.PublishAsync<ResourceStoppedEvent>(new(portResource, e.
Services
, new(portResource, portResource.Name, stoppedSnapshot!)), ct).ConfigureAwait(false);
Aspire.Hosting.Tests (2)
Eventing\DistributedApplicationBuilderEventingTests.cs (2)
309
Assert.NotNull(evt.
Services
);
348
Assert.NotNull(e.
Services
);