12 references to _webApplication
Microsoft.AspNetCore (12)
WebApplication.cs (12)
265
public IServiceProvider Services =>
_webApplication
.Services;
266
public IConfiguration Configuration =>
_webApplication
.Configuration;
267
public IWebHostEnvironment Environment =>
_webApplication
.Environment;
268
public IHostApplicationLifetime Lifetime =>
_webApplication
.Lifetime;
269
public ILogger Logger =>
_webApplication
.Logger;
270
public string Urls => string.Join(", ",
_webApplication
.Urls);
275
var dataSource =
_webApplication
.Services.GetRequiredService<EndpointDataSource>();
280
if (compositeEndpointDataSource.DataSources.Intersect(
_webApplication
.DataSources).Count() ==
_webApplication
.DataSources.Count)
288
return new CompositeEndpointDataSource(
_webApplication
.DataSources).Endpoints;
295
public bool IsRunning =>
_webApplication
.IsRunning;
300
if (
_webApplication
.Properties.TryGetValue("__MiddlewareDescriptions", out var value) &&