1 write to _host
Aspire.Hosting (1)
DistributedApplication.cs (1)
62
_host
= host;
12 references to _host
Aspire.Hosting (12)
DistributedApplication.cs (12)
206
public IServiceProvider Services =>
_host
.Services;
258
public ResourceNotificationService ResourceNotifications => _resourceNotifications ??=
_host
.Services.GetRequiredService<ResourceNotificationService>();
288
_host
.Dispose();
320
return ((IAsyncDisposable)
_host
).DisposeAsync();
327
await
_host
.StartAsync(cancellationToken).ConfigureAwait(false);
333
await
_host
.StopAsync(cancellationToken).ConfigureAwait(false);
364
await
_host
.RunAsync(cancellationToken).ConfigureAwait(false);
402
var beforeStartEvent = new BeforeStartEvent(
_host
.Services,
_host
.Services.GetRequiredService<DistributedApplicationModel>());
403
var eventing =
_host
.Services.GetRequiredService<IDistributedApplicationEventing>();
406
var lifecycleHooks =
_host
.Services.GetServices<IDistributedApplicationLifecycleHook>();
407
var appModel =
_host
.Services.GetRequiredService<DistributedApplicationModel>();