1 write to _host
Aspire.Hosting (1)
DistributedApplication.cs (1)
61
_host
= host;
11 references to _host
Aspire.Hosting (11)
DistributedApplication.cs (11)
205
public IServiceProvider Services =>
_host
.Services;
235
_host
.Dispose();
267
return ((IAsyncDisposable)
_host
).DisposeAsync();
274
await
_host
.StartAsync(cancellationToken).ConfigureAwait(false);
280
await
_host
.StopAsync(cancellationToken).ConfigureAwait(false);
311
await
_host
.RunAsync(cancellationToken).ConfigureAwait(false);
349
var beforeStartEvent = new BeforeStartEvent(
_host
.Services,
_host
.Services.GetRequiredService<DistributedApplicationModel>());
350
var eventing =
_host
.Services.GetRequiredService<IDistributedApplicationEventing>();
353
var lifecycleHooks =
_host
.Services.GetServices<IDistributedApplicationLifecycleHook>();
354
var appModel =
_host
.Services.GetRequiredService<DistributedApplicationModel>();