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