add nugets
This commit is contained in:
5
.nuget/packages/microsoft.extensions.hosting/10.0.0-rc.2.25502.107/.nupkg.metadata
vendored
Normal file
5
.nuget/packages/microsoft.extensions.hosting/10.0.0-rc.2.25502.107/.nupkg.metadata
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"version": 2,
|
||||
"contentHash": "NJdwFTRku1adkA+WRSzZNzVynCptu0wyVTTRZ4cmOUIobqzA+e5EJFSxliGuIbAF6NYffv7jDqEC88N0KtrdYA==",
|
||||
"source": "https://api.nuget.org/v3/index.json"
|
||||
}
|
||||
BIN
.nuget/packages/microsoft.extensions.hosting/10.0.0-rc.2.25502.107/.signature.p7s
vendored
Normal file
BIN
.nuget/packages/microsoft.extensions.hosting/10.0.0-rc.2.25502.107/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
.nuget/packages/microsoft.extensions.hosting/10.0.0-rc.2.25502.107/Icon.png
vendored
Normal file
BIN
.nuget/packages/microsoft.extensions.hosting/10.0.0-rc.2.25502.107/Icon.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1,171 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Microsoft.Extensions.Hosting</id>
|
||||
<version>10.0.0-rc.2.25502.107</version>
|
||||
<authors>Microsoft</authors>
|
||||
<license type="expression">MIT</license>
|
||||
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
|
||||
<icon>Icon.png</icon>
|
||||
<readme>PACKAGE.md</readme>
|
||||
<projectUrl>https://dot.net/</projectUrl>
|
||||
<description>Hosting and startup infrastructures for applications.</description>
|
||||
<releaseNotes>https://go.microsoft.com/fwlink/?LinkID=799421</releaseNotes>
|
||||
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
|
||||
<serviceable>true</serviceable>
|
||||
<repository type="git" url="https://github.com/dotnet/dotnet" commit="89c8f6a112d37d2ea8b77821e56d170a1bccdc5a" />
|
||||
<dependencies>
|
||||
<group targetFramework=".NETFramework4.6.2">
|
||||
<dependency id="Microsoft.Bcl.AsyncInterfaces" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.Binder" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.CommandLine" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.EnvironmentVariables" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.FileExtensions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.Json" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.UserSecrets" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Diagnostics" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.FileProviders.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.FileProviders.Physical" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Hosting.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Configuration" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Console" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Debug" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.EventLog" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.EventSource" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Options" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Threading.Tasks.Extensions" version="4.6.3" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework="net8.0">
|
||||
<dependency id="Microsoft.Extensions.Configuration.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.Binder" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.CommandLine" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.EnvironmentVariables" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.FileExtensions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.Json" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.UserSecrets" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Diagnostics" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.FileProviders.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.FileProviders.Physical" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Hosting.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Configuration" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Console" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Debug" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.EventLog" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.EventSource" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Options" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework="net9.0">
|
||||
<dependency id="Microsoft.Extensions.Configuration.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.Binder" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.CommandLine" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.EnvironmentVariables" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.FileExtensions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.Json" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.UserSecrets" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Diagnostics" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.FileProviders.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.FileProviders.Physical" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Hosting.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Configuration" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Console" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Debug" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.EventLog" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.EventSource" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Options" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework="net10.0">
|
||||
<dependency id="Microsoft.Extensions.Configuration.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.Binder" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.CommandLine" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.EnvironmentVariables" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.FileExtensions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.Json" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.UserSecrets" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Diagnostics" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.FileProviders.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.FileProviders.Physical" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Hosting.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Configuration" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Console" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Debug" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.EventLog" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.EventSource" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Options" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework=".NETStandard2.0">
|
||||
<dependency id="Microsoft.Bcl.AsyncInterfaces" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.Binder" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.CommandLine" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.EnvironmentVariables" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.FileExtensions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.Json" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.UserSecrets" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Diagnostics" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.FileProviders.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.FileProviders.Physical" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Hosting.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Configuration" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Console" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Debug" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.EventLog" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.EventSource" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Options" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="System.Threading.Tasks.Extensions" version="4.6.3" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
<group targetFramework=".NETStandard2.1">
|
||||
<dependency id="Microsoft.Extensions.Configuration.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.Binder" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.CommandLine" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.EnvironmentVariables" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.FileExtensions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.Json" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration.UserSecrets" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Configuration" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.DependencyInjection" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Diagnostics" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.FileProviders.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.FileProviders.Physical" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Hosting.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Configuration" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Console" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Debug" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.EventLog" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging.EventSource" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Logging" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
<dependency id="Microsoft.Extensions.Options" version="10.0.0-rc.2.25502.107" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
</dependencies>
|
||||
<frameworkAssemblies>
|
||||
<frameworkAssembly assemblyName="System.Runtime" targetFramework=".NETFramework4.6.2" />
|
||||
</frameworkAssemblies>
|
||||
</metadata>
|
||||
</package>
|
||||
81
.nuget/packages/microsoft.extensions.hosting/10.0.0-rc.2.25502.107/PACKAGE.md
vendored
Normal file
81
.nuget/packages/microsoft.extensions.hosting/10.0.0-rc.2.25502.107/PACKAGE.md
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
## About
|
||||
|
||||
<!-- A description of the package and where one can find more documentation -->
|
||||
|
||||
Contains the .NET Generic Host `HostBuilder` which layers on the `Microsoft.Extensions.Hosting.Abstractions` package.
|
||||
|
||||
## Key Features
|
||||
|
||||
<!-- The key features of this package -->
|
||||
|
||||
* Contains the .NET Generic Host `HostBuilder`.
|
||||
|
||||
## How to Use
|
||||
|
||||
<!-- A compelling example on how to use this package with code, as well as any specific guidelines for when to use the package -->
|
||||
|
||||
For a console app project:
|
||||
```C#
|
||||
using (IHost host = new HostBuilder().Build())
|
||||
{
|
||||
var lifetime = host.Services.GetRequiredService<IHostApplicationLifetime>();
|
||||
|
||||
lifetime.ApplicationStarted.Register(() =>
|
||||
{
|
||||
Console.WriteLine("Started");
|
||||
});
|
||||
lifetime.ApplicationStopping.Register(() =>
|
||||
{
|
||||
Console.WriteLine("Stopping firing");
|
||||
Console.WriteLine("Stopping end");
|
||||
});
|
||||
lifetime.ApplicationStopped.Register(() =>
|
||||
{
|
||||
Console.WriteLine("Stopped firing");
|
||||
Console.WriteLine("Stopped end");
|
||||
});
|
||||
|
||||
host.Start();
|
||||
|
||||
// Listens for Ctrl+C.
|
||||
host.WaitForShutdown();
|
||||
}
|
||||
```
|
||||
|
||||
## Main Types
|
||||
|
||||
<!-- The main types provided in this library -->
|
||||
|
||||
The main types provided by this library are:
|
||||
|
||||
* `Microsoft.Extensions.Host`.
|
||||
* `Microsoft.Extensions.Hosting.HostApplicationBuilder`
|
||||
* `Microsoft.Extensions.Hosting.HostBuilder`
|
||||
* `Microsoft.Extensions.Hosting.IHostedService`
|
||||
* `Microsoft.Extensions.Hosting.IHostedLifecycleService`
|
||||
|
||||
## Additional Documentation
|
||||
|
||||
<!-- Links to further documentation. Remove conceptual documentation if not available for the library. -->
|
||||
|
||||
* [Generic host](https://learn.microsoft.com/dotnet/core/extensions/generic-host)
|
||||
* API documentation
|
||||
- [Host](https://learn.microsoft.com/dotnet/api/microsoft.extensions.hosting.host)
|
||||
- [HostApplicationBuilder](https://learn.microsoft.com/dotnet/api/microsoft.extensions.hosting.hostapplicationbuilder)
|
||||
- [HostBuilder](https://learn.microsoft.com/dotnet/api/microsoft.extensions.hosting.hostbuilder)
|
||||
|
||||
## Related Packages
|
||||
|
||||
<!-- The related packages associated with this package -->
|
||||
|
||||
- `Microsoft.Extensions.Configuration`
|
||||
- `Microsoft.Extensions.DependencyInjection`
|
||||
- `Microsoft.Extensions.Hosting.Abstractions`
|
||||
- `Microsoft.Extensions.Logging`
|
||||
- `Microsoft.Extensions.Options`
|
||||
|
||||
## Feedback & Contributing
|
||||
|
||||
<!-- How to provide feedback on this package and contribute to it -->
|
||||
|
||||
Microsoft.Extensions.Hosting is released as open source under the [MIT license](https://licenses.nuget.org/MIT). Bug reports and contributions are welcome at [the GitHub repository](https://github.com/dotnet/runtime).
|
||||
1418
.nuget/packages/microsoft.extensions.hosting/10.0.0-rc.2.25502.107/THIRD-PARTY-NOTICES.TXT
vendored
Normal file
1418
.nuget/packages/microsoft.extensions.hosting/10.0.0-rc.2.25502.107/THIRD-PARTY-NOTICES.TXT
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
<Project InitialTargets="NETStandardCompatError_Microsoft_Extensions_Hosting_net462">
|
||||
<Target Name="NETStandardCompatError_Microsoft_Extensions_Hosting_net462"
|
||||
Condition="'$(SuppressTfmSupportBuildWarnings)' == ''">
|
||||
<Warning Text="Microsoft.Extensions.Hosting 10.0.0-rc.2.25502.107 doesn't support $(TargetFramework) and has not been tested with it. Consider upgrading your TargetFramework to net462 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk." />
|
||||
</Target>
|
||||
</Project>
|
||||
@@ -0,0 +1,6 @@
|
||||
<Project InitialTargets="NETStandardCompatError_Microsoft_Extensions_Hosting_net8_0">
|
||||
<Target Name="NETStandardCompatError_Microsoft_Extensions_Hosting_net8_0"
|
||||
Condition="'$(SuppressTfmSupportBuildWarnings)' == ''">
|
||||
<Warning Text="Microsoft.Extensions.Hosting 10.0.0-rc.2.25502.107 doesn't support $(TargetFramework) and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk." />
|
||||
</Target>
|
||||
</Project>
|
||||
@@ -0,0 +1,744 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Extensions.Hosting</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior">
|
||||
<summary>
|
||||
Specifies a behavior that the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will honor if an
|
||||
unhandled exception occurs in one of its <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> instances.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior.StopHost">
|
||||
<summary>
|
||||
Stops the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> instance.
|
||||
</summary>
|
||||
<remarks>
|
||||
If a <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> throws an exception, the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> instance stops, and the process continues.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior.Ignore">
|
||||
<summary>
|
||||
Ignore exceptions thrown in <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/>.
|
||||
</summary>
|
||||
<remarks>
|
||||
If a <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> throws an exception, the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will log the error, but otherwise ignore it.
|
||||
The <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> is not restarted.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions">
|
||||
<summary>
|
||||
Provides option flags for <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions.SuppressStatusMessages">
|
||||
<summary>
|
||||
Gets or sets a value that indicates if host lifetime status messages should be suppressed, such as on startup.
|
||||
</summary>
|
||||
<value>
|
||||
<see langword="true"/> if host lifetime status messages should be suppressed.
|
||||
The default is <see langword="false"/>.
|
||||
</value>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.Host">
|
||||
<summary>
|
||||
Provides convenience methods for creating instances of <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> with pre-configured defaults.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/> class with pre-configured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder(System.String[])">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/> class with pre-configured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
<param name="args">The command line args.</param>
|
||||
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with pre-configured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder(System.String[])">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with pre-configured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
<param name="args">The command line args.</param>
|
||||
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder(Microsoft.Extensions.Hosting.HostApplicationBuilderSettings)">
|
||||
<inheritdoc cref="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder" />
|
||||
<param name="settings">Controls the initial configuration and other settings for constructing the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateEmptyApplicationBuilder(Microsoft.Extensions.Hosting.HostApplicationBuilderSettings)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with no pre-configured defaults.
|
||||
</summary>
|
||||
<param name="settings">Controls the initial configuration and other settings for constructing the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</param>
|
||||
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.HostApplicationBuilder">
|
||||
<summary>
|
||||
Represents a hosted applications and services builder that helps manage configuration, logging, lifetime, and more.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with preconfigured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.json' and '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json' when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/> is not empty</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.#ctor(System.String[])">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with preconfigured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.json' and '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json' when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/> is not empty</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
<param name="args">The command line args.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.#ctor(Microsoft.Extensions.Hosting.HostApplicationBuilderSettings)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.
|
||||
</summary>
|
||||
<param name="settings">Settings controlling initial configuration and whether default settings should be used.</param>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Environment">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Configuration">
|
||||
<summary>
|
||||
Gets the set of key/value configuration properties.
|
||||
</summary>
|
||||
<remarks>
|
||||
This can be mutated by adding more configuration sources, which will update its current view.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Services">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Logging">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Metrics">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.ConfigureContainer``1(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory{``0},System.Action{``0})">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.Build">
|
||||
<summary>
|
||||
Builds the host. This method can only be called once.
|
||||
</summary>
|
||||
<returns>An initialized <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings">
|
||||
<summary>
|
||||
Settings for constructing an <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.#ctor">
|
||||
<summary>
|
||||
Initializes an instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.DisableDefaults">
|
||||
<summary>
|
||||
Gets or sets a value that indicates whether the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> instance is configured with pre-configured defaults.
|
||||
</summary>
|
||||
<value>
|
||||
<see langword="false"/> if the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> instance is configured with pre-configured defaults.
|
||||
This has a similar effect to calling <see cref="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureDefaults(Microsoft.Extensions.Hosting.IHostBuilder,System.String[])"/>.
|
||||
</value>
|
||||
<remarks>
|
||||
The following defaults are applied to the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>:
|
||||
* set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/>
|
||||
* load <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables
|
||||
* load <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'
|
||||
* load <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly
|
||||
* load <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables
|
||||
* load <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args
|
||||
* configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output
|
||||
* enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.Args">
|
||||
<summary>
|
||||
Gets or sets the command-line arguments to add to the <see cref="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Configuration"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.Configuration">
|
||||
<summary>
|
||||
Gets or sets the initial configuration sources to be added to the <see cref="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Configuration"/>. These sources can influence
|
||||
the <see cref="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Environment"/> through the use of <see cref="T:Microsoft.Extensions.Hosting.HostDefaults"/> keys. Disposing the built
|
||||
<see cref="T:Microsoft.Extensions.Hosting.IHost"/> disposes the <see cref="T:Microsoft.Extensions.Configuration.ConfigurationManager"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.EnvironmentName">
|
||||
<summary>
|
||||
Gets or sets the environment name.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.ApplicationName">
|
||||
<summary>
|
||||
Gets or sets the application name.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.ContentRootPath">
|
||||
<summary>
|
||||
Gets or sets the content root path.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.HostBuilder">
|
||||
<summary>
|
||||
A program initialization utility.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostBuilder.Properties">
|
||||
<summary>
|
||||
Gets a central location for sharing state between components during the host building process.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.ConfigureHostConfiguration(System.Action{Microsoft.Extensions.Configuration.IConfigurationBuilder})">
|
||||
<summary>
|
||||
Set up the configuration for the builder itself. This will be used to initialize the <see cref="T:Microsoft.Extensions.Hosting.IHostEnvironment"/>
|
||||
for use later in the build process. This can be called multiple times and the results will be additive.
|
||||
</summary>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
|
||||
to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.ConfigureAppConfiguration(System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Configuration.IConfigurationBuilder})">
|
||||
<summary>
|
||||
Sets up the configuration for the remainder of the build process and application. This can be called multiple times and
|
||||
the results will be additive. The results will be available at <see cref="P:Microsoft.Extensions.Hosting.HostBuilderContext.Configuration"/> for
|
||||
subsequent operations, as well as in <see cref="P:Microsoft.Extensions.Hosting.IHost.Services"/>.
|
||||
</summary>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
|
||||
to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.ConfigureServices(System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.DependencyInjection.IServiceCollection})">
|
||||
<summary>
|
||||
Adds services to the container. This can be called multiple times and the results will be additive.
|
||||
</summary>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
|
||||
to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.UseServiceProviderFactory``1(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory{``0})">
|
||||
<summary>
|
||||
Overrides the factory used to create the service provider.
|
||||
</summary>
|
||||
<typeparam name="TContainerBuilder">The type of the builder to create.</typeparam>
|
||||
<param name="factory">A factory used for creating service providers.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.UseServiceProviderFactory``1(System.Func{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.DependencyInjection.IServiceProviderFactory{``0}})">
|
||||
<summary>
|
||||
Overrides the factory used to create the service provider.
|
||||
</summary>
|
||||
<param name="factory">A factory used for creating service providers.</param>
|
||||
<typeparam name="TContainerBuilder">The type of the builder to create.</typeparam>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.ConfigureContainer``1(System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,``0})">
|
||||
<summary>
|
||||
Enables configuring the instantiated dependency container. This can be called multiple times and
|
||||
the results will be additive.
|
||||
</summary>
|
||||
<typeparam name="TContainerBuilder">The type of the builder to create.</typeparam>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
|
||||
to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.Build">
|
||||
<summary>
|
||||
Run the given actions to initialize the host. This can only be called once.
|
||||
</summary>
|
||||
<returns>An initialized <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.</returns>
|
||||
<remarks>Adds basic services to the host such as application lifetime, host environment, and logging.</remarks>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions">
|
||||
<summary>
|
||||
Provides extension methods for the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> from the hosting package.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseEnvironment(Microsoft.Extensions.Hosting.IHostBuilder,System.String)">
|
||||
<summary>
|
||||
Specifies the environment to be used by the host. To avoid the environment being overwritten by a default
|
||||
value, ensure this is called after defaults are configured.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> to configure.</param>
|
||||
<param name="environment">The environment to host the application in.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseContentRoot(Microsoft.Extensions.Hosting.IHostBuilder,System.String)">
|
||||
<summary>
|
||||
Specifies the content root directory to be used by the host. To avoid the content root directory being
|
||||
overwritten by a default value, ensure this is called after defaults are configured.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> to configure.</param>
|
||||
<param name="contentRoot">Path to root directory of the application.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseDefaultServiceProvider(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.DependencyInjection.ServiceProviderOptions})">
|
||||
<summary>
|
||||
Specifies the <see cref="T:System.IServiceProvider"/> to be the default one.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> to configure.</param>
|
||||
<param name="configure">The delegate that configures the <see cref="T:System.IServiceProvider"/>.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseDefaultServiceProvider(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.DependencyInjection.ServiceProviderOptions})">
|
||||
<summary>
|
||||
Specifies the <see cref="T:System.IServiceProvider"/> to be the default one.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> to configure.</param>
|
||||
<param name="configure">The delegate that configures the <see cref="T:System.IServiceProvider"/>.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureLogging(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Logging.ILoggingBuilder})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the provided <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>. This can be called multiple times.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureLogging">The delegate that configures the <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureLogging(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Logging.ILoggingBuilder})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the provided <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>. This can be called multiple times.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureLogging">The delegate that configures the <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureHostOptions(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Hosting.HostOptions})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.HostOptions"/> of the <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.HostOptions"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureHostOptions(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostOptions})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.HostOptions"/> of the <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.HostOptions"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureAppConfiguration(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Configuration.IConfigurationBuilder})">
|
||||
<summary>
|
||||
Sets up the configuration for the remainder of the build process and application. This can be called multiple times and
|
||||
the results will be additive. The results will be available at <see cref="P:Microsoft.Extensions.Hosting.HostBuilderContext.Configuration"/> for
|
||||
subsequent operations, as well as in <see cref="P:Microsoft.Extensions.Hosting.IHost.Services"/>.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
|
||||
to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureServices(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.DependencyInjection.IServiceCollection})">
|
||||
<summary>
|
||||
Adds services to the container. This can be called multiple times and the results will be additive.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureContainer``1(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{``0})">
|
||||
<summary>
|
||||
Enables configuring the instantiated dependency container. This can be called multiple times and
|
||||
the results will be additive.
|
||||
</summary>
|
||||
<typeparam name="TContainerBuilder">The type of builder.</typeparam>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureDelegate">The delegate for configuring the <typeparamref name="TContainerBuilder"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureDefaults(Microsoft.Extensions.Hosting.IHostBuilder,System.String[])">
|
||||
<summary>
|
||||
Configures an existing <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> instance with pre-configured defaults. This will overwrite
|
||||
previously configured values and is intended to be called before additional configuration calls.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>:
|
||||
* set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/>
|
||||
* load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables
|
||||
* load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args
|
||||
* load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'
|
||||
* load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.json' and '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json' when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/> is not empty
|
||||
* load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly
|
||||
* load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables
|
||||
* load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args
|
||||
* configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output
|
||||
* enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'
|
||||
</remarks>
|
||||
<param name="builder">The existing builder to configure.</param>
|
||||
<param name="args">The command line args.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseConsoleLifetime(Microsoft.Extensions.Hosting.IHostBuilder)">
|
||||
<summary>
|
||||
Listens for Ctrl+C or SIGTERM and calls <see cref="M:Microsoft.Extensions.Hosting.IHostApplicationLifetime.StopApplication"/> to start the shutdown process.
|
||||
This will unblock extensions like RunAsync and WaitForShutdownAsync.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseConsoleLifetime(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.ConsoleLifetimeOptions})">
|
||||
<summary>
|
||||
Listens for Ctrl+C or SIGTERM and calls <see cref="M:Microsoft.Extensions.Hosting.IHostApplicationLifetime.StopApplication"/> to start the shutdown process.
|
||||
This will unblock extensions like RunAsync and WaitForShutdownAsync.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.RunConsoleAsync(Microsoft.Extensions.Hosting.IHostBuilder,System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Enables console support, builds and starts the host, and waits for Ctrl+C or SIGTERM to shut down.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the console.</param>
|
||||
<returns>A <see cref="T:System.Threading.Tasks.Task"/> that only completes when the token is triggered or shutdown is triggered.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.RunConsoleAsync(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.ConsoleLifetimeOptions},System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Enables console support, builds and starts the host, and waits for Ctrl+C or SIGTERM to shut down.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/>.</param>
|
||||
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the console.</param>
|
||||
<returns>A <see cref="T:System.Threading.Tasks.Task"/> that only completes when the token is triggered or shutdown is triggered.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureMetrics(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the provided <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder"/>. This can be called multiple times.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureMetrics">The delegate that configures the <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureMetrics(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the provided <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder"/>. This can be called multiple times.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureMetrics">The delegate that configures the <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.HostOptions">
|
||||
<summary>
|
||||
Options for <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostOptions.ShutdownTimeout">
|
||||
<summary>
|
||||
Gets or sets the default timeout for <see cref="M:Microsoft.Extensions.Hosting.IHost.StopAsync(System.Threading.CancellationToken)"/>.
|
||||
</summary>
|
||||
<remarks>
|
||||
This timeout also encompasses all host services implementing
|
||||
<see cref="M:Microsoft.Extensions.Hosting.IHostedLifecycleService.StoppingAsync(System.Threading.CancellationToken)"/> and
|
||||
<see cref="M:Microsoft.Extensions.Hosting.IHostedLifecycleService.StoppedAsync(System.Threading.CancellationToken)"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostOptions.StartupTimeout">
|
||||
<summary>
|
||||
Gets or sets the default timeout for <see cref="M:Microsoft.Extensions.Hosting.IHost.StartAsync(System.Threading.CancellationToken)"/>.
|
||||
</summary>
|
||||
<remarks>
|
||||
This timeout also encompasses all host services implementing
|
||||
<see cref="M:Microsoft.Extensions.Hosting.IHostedLifecycleService.StartingAsync(System.Threading.CancellationToken)"/> and
|
||||
<see cref="M:Microsoft.Extensions.Hosting.IHostedLifecycleService.StartedAsync(System.Threading.CancellationToken)"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostOptions.ServicesStartConcurrently">
|
||||
<summary>
|
||||
Gets or sets a value that indicates if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will start registered instances of <see cref="T:Microsoft.Extensions.Hosting.IHostedService"/> concurrently or sequentially.
|
||||
</summary>
|
||||
<value>
|
||||
<see langword="true"/> if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will start registered instances of <see cref="T:Microsoft.Extensions.Hosting.IHostedService"/> concurrently; <see langword="false"/> if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will start registered instances sequentially. The default is <see langword="false"/> .
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostOptions.ServicesStopConcurrently">
|
||||
<summary>
|
||||
Gets or sets a value that indicates if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will stop registered instances of <see cref="T:Microsoft.Extensions.Hosting.IHostedService"/> concurrently or sequentially.
|
||||
</summary>
|
||||
<value>
|
||||
<see langword="true"/> if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will stop registered instances of <see cref="T:Microsoft.Extensions.Hosting.IHostedService"/> concurrently; <see langword="false"/> if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will stop registered instances sequentially. The default is <see langword="false"/> .
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostOptions.BackgroundServiceExceptionBehavior">
|
||||
<summary>
|
||||
Gets or sets the behavior the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will follow when any of
|
||||
its <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> instances throw an unhandled exception.
|
||||
</summary>
|
||||
<remarks>
|
||||
Defaults to <see cref="F:Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior.StopHost"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime">
|
||||
<summary>
|
||||
Allows consumers to perform cleanup during a graceful shutdown.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.#ctor(Microsoft.Extensions.Logging.ILogger{Microsoft.Extensions.Hosting.Internal.ApplicationLifetime})">
|
||||
<summary>
|
||||
Initializes an <see cref="T:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime"/> instance using the specified logger.
|
||||
</summary>
|
||||
<param name="logger">The logger to initialize this instance with.</param>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.ApplicationStarted">
|
||||
<summary>
|
||||
Gets a cancellation token. Triggered when the application host has fully started and is about to wait
|
||||
for a graceful shutdown.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.ApplicationStopping">
|
||||
<summary>
|
||||
Gets a cancellation token. Triggered when the application host is performing a graceful shutdown.
|
||||
Request might still be in flight. Shutdown will block until this event completes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.ApplicationStopped">
|
||||
<summary>
|
||||
Gets a cancellation token. Triggered when the application host is performing a graceful shutdown.
|
||||
All requests should be complete at this point. Shutdown will block
|
||||
until this event completes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.StopApplication">
|
||||
<summary>
|
||||
Signals the ApplicationStopping event and blocks until it completes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.NotifyStarted">
|
||||
<summary>
|
||||
Signals the ApplicationStarted event and blocks until it completes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.NotifyStopped">
|
||||
<summary>
|
||||
Signals the ApplicationStopped event and blocks until it completes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime">
|
||||
<summary>
|
||||
Listens for Ctrl+C or SIGTERM and initiates shutdown.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.#ctor(Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Hosting.ConsoleLifetimeOptions},Microsoft.Extensions.Hosting.IHostEnvironment,Microsoft.Extensions.Hosting.IHostApplicationLifetime,Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Hosting.HostOptions})">
|
||||
<summary>
|
||||
Initializes a <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/> instance using the specified console lifetime options, host environment, host application lifetime, and host options.
|
||||
</summary>
|
||||
<param name="options">An object used to retrieve <see cref="T:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions"/> instances.</param>
|
||||
<param name="environment">Information about the hosting environment an application is running in.</param>
|
||||
<param name="applicationLifetime">An object that allows consumers to be notified of application lifetime events.</param>
|
||||
<param name="hostOptions">An object used to retrieve internal host options instances.</param>
|
||||
<exception cref="T:System.ArgumentNullException"><paramref name="options"/> or <paramref name="environment"/> or <paramref name="applicationLifetime"/> or <paramref name="hostOptions"/> is <see langword="null"/>.</exception>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.#ctor(Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Hosting.ConsoleLifetimeOptions},Microsoft.Extensions.Hosting.IHostEnvironment,Microsoft.Extensions.Hosting.IHostApplicationLifetime,Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Hosting.HostOptions},Microsoft.Extensions.Logging.ILoggerFactory)">
|
||||
<summary>
|
||||
Initializes a <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/> instance using the specified console lifetime options, host environment, host options, and logger factory.
|
||||
</summary>
|
||||
<param name="options">An object used to retrieve <see cref="T:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions"/> instances.</param>
|
||||
<param name="environment">Information about the hosting environment an application is running in.</param>
|
||||
<param name="applicationLifetime">An object that allows consumers to be notified of application lifetime events.</param>
|
||||
<param name="hostOptions">An object used to retrieve <see cref="P:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.HostOptions"/> instances.</param>
|
||||
<param name="loggerFactory">An object to configure the logging system and create instances of <see cref="T:Microsoft.Extensions.Logging.ILogger"/> from the registered <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>.</param>
|
||||
<exception cref="T:System.ArgumentNullException"><paramref name="options"/> or <paramref name="environment"/> or <paramref name="applicationLifetime"/> or <paramref name="hostOptions"/> or <paramref name="loggerFactory"/> is <see langword="null"/>.</exception>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.WaitForStartAsync(System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Registers the application start, application stop and shutdown handlers for this application.
|
||||
</summary>
|
||||
<param name="cancellationToken">The cancellation token to monitor for cancellation requests.</param>
|
||||
<returns>A <see cref="T:System.Threading.Tasks.Task"/> that represents the asynchronous registration operation.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.StopAsync(System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
This method does nothing.
|
||||
</summary>
|
||||
<param name="cancellationToken">A cancellation token instance.</param>
|
||||
<returns>A <see cref="T:System.Threading.Tasks.Task"/> that represents a completed task.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.Dispose">
|
||||
<summary>
|
||||
Unregisters the shutdown handlers and disposes the application start and application stop registrations.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.Host.StartAsync(System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Order:
|
||||
IHostLifetime.WaitForStartAsync
|
||||
Services.GetService{IStartupValidator}().Validate()
|
||||
IHostedLifecycleService.StartingAsync
|
||||
IHostedService.Start
|
||||
IHostedLifecycleService.StartedAsync
|
||||
IHostApplicationLifetime.ApplicationStarted
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.Host.StopAsync(System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Order:
|
||||
IHostedLifecycleService.StoppingAsync
|
||||
IHostApplicationLifetime.ApplicationStopping
|
||||
IHostedService.Stop
|
||||
IHostedLifecycleService.StoppedAsync
|
||||
IHostApplicationLifetime.ApplicationStopped
|
||||
IHostLifetime.StopAsync
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.Internal.HostingEnvironment">
|
||||
<summary>
|
||||
This API supports infrastructure and is not intended to be used
|
||||
directly from your code. This API may change or be removed in future releases.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.HostingEnvironment.EnvironmentName">
|
||||
<summary>
|
||||
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.HostingEnvironment.ApplicationName">
|
||||
<summary>
|
||||
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.HostingEnvironment.ContentRootPath">
|
||||
<summary>
|
||||
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.HostingEnvironment.ContentRootFileProvider">
|
||||
<summary>
|
||||
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.Internal.NullLifetime">
|
||||
<summary>
|
||||
Minimalistic lifetime that does nothing.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ApplicationNameChangeNotSupported">
|
||||
<summary>The application name changed from "{0}" to "{1}". Changing host configuration is not supported.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.BackgroundServiceExceptionStoppedHost">
|
||||
<summary>The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will no ...</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.BuildCalled">
|
||||
<summary>Build can only be called once.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ContentRootChangeNotSupported">
|
||||
<summary>The content root changed from "{0}" to "{1}". Changing host configuration is not supported.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.CreateBuilderCallBeforeCreateServiceProvider">
|
||||
<summary>CreateBuilder must be called before CreateServiceProvider</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.EnvironmentNameChangeNotSupoprted">
|
||||
<summary>The environment name changed from "{0}" to "{1}". Changing host configuration is not supported.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.IHostApplicationLifetimeReplacementNotSupported">
|
||||
<summary>Replacing IHostApplicationLifetime is not supported.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.NullIServiceProvider">
|
||||
<summary>The IServiceProviderFactory returned a null IServiceProvider</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ResolverReturnedNull">
|
||||
<summary>The resolver returned a null IServiceProviderFactory</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,744 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Extensions.Hosting</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior">
|
||||
<summary>
|
||||
Specifies a behavior that the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will honor if an
|
||||
unhandled exception occurs in one of its <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> instances.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior.StopHost">
|
||||
<summary>
|
||||
Stops the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> instance.
|
||||
</summary>
|
||||
<remarks>
|
||||
If a <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> throws an exception, the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> instance stops, and the process continues.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior.Ignore">
|
||||
<summary>
|
||||
Ignore exceptions thrown in <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/>.
|
||||
</summary>
|
||||
<remarks>
|
||||
If a <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> throws an exception, the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will log the error, but otherwise ignore it.
|
||||
The <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> is not restarted.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions">
|
||||
<summary>
|
||||
Provides option flags for <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions.SuppressStatusMessages">
|
||||
<summary>
|
||||
Gets or sets a value that indicates if host lifetime status messages should be suppressed, such as on startup.
|
||||
</summary>
|
||||
<value>
|
||||
<see langword="true"/> if host lifetime status messages should be suppressed.
|
||||
The default is <see langword="false"/>.
|
||||
</value>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.Host">
|
||||
<summary>
|
||||
Provides convenience methods for creating instances of <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> with pre-configured defaults.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/> class with pre-configured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder(System.String[])">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/> class with pre-configured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
<param name="args">The command line args.</param>
|
||||
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with pre-configured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder(System.String[])">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with pre-configured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
<param name="args">The command line args.</param>
|
||||
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder(Microsoft.Extensions.Hosting.HostApplicationBuilderSettings)">
|
||||
<inheritdoc cref="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder" />
|
||||
<param name="settings">Controls the initial configuration and other settings for constructing the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateEmptyApplicationBuilder(Microsoft.Extensions.Hosting.HostApplicationBuilderSettings)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with no pre-configured defaults.
|
||||
</summary>
|
||||
<param name="settings">Controls the initial configuration and other settings for constructing the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</param>
|
||||
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.HostApplicationBuilder">
|
||||
<summary>
|
||||
Represents a hosted applications and services builder that helps manage configuration, logging, lifetime, and more.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with preconfigured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.json' and '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json' when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/> is not empty</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.#ctor(System.String[])">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with preconfigured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.json' and '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json' when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/> is not empty</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
<param name="args">The command line args.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.#ctor(Microsoft.Extensions.Hosting.HostApplicationBuilderSettings)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.
|
||||
</summary>
|
||||
<param name="settings">Settings controlling initial configuration and whether default settings should be used.</param>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Environment">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Configuration">
|
||||
<summary>
|
||||
Gets the set of key/value configuration properties.
|
||||
</summary>
|
||||
<remarks>
|
||||
This can be mutated by adding more configuration sources, which will update its current view.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Services">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Logging">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Metrics">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.ConfigureContainer``1(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory{``0},System.Action{``0})">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.Build">
|
||||
<summary>
|
||||
Builds the host. This method can only be called once.
|
||||
</summary>
|
||||
<returns>An initialized <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings">
|
||||
<summary>
|
||||
Settings for constructing an <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.#ctor">
|
||||
<summary>
|
||||
Initializes an instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.DisableDefaults">
|
||||
<summary>
|
||||
Gets or sets a value that indicates whether the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> instance is configured with pre-configured defaults.
|
||||
</summary>
|
||||
<value>
|
||||
<see langword="false"/> if the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> instance is configured with pre-configured defaults.
|
||||
This has a similar effect to calling <see cref="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureDefaults(Microsoft.Extensions.Hosting.IHostBuilder,System.String[])"/>.
|
||||
</value>
|
||||
<remarks>
|
||||
The following defaults are applied to the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>:
|
||||
* set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/>
|
||||
* load <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables
|
||||
* load <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'
|
||||
* load <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly
|
||||
* load <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables
|
||||
* load <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args
|
||||
* configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output
|
||||
* enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.Args">
|
||||
<summary>
|
||||
Gets or sets the command-line arguments to add to the <see cref="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Configuration"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.Configuration">
|
||||
<summary>
|
||||
Gets or sets the initial configuration sources to be added to the <see cref="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Configuration"/>. These sources can influence
|
||||
the <see cref="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Environment"/> through the use of <see cref="T:Microsoft.Extensions.Hosting.HostDefaults"/> keys. Disposing the built
|
||||
<see cref="T:Microsoft.Extensions.Hosting.IHost"/> disposes the <see cref="T:Microsoft.Extensions.Configuration.ConfigurationManager"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.EnvironmentName">
|
||||
<summary>
|
||||
Gets or sets the environment name.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.ApplicationName">
|
||||
<summary>
|
||||
Gets or sets the application name.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.ContentRootPath">
|
||||
<summary>
|
||||
Gets or sets the content root path.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.HostBuilder">
|
||||
<summary>
|
||||
A program initialization utility.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostBuilder.Properties">
|
||||
<summary>
|
||||
Gets a central location for sharing state between components during the host building process.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.ConfigureHostConfiguration(System.Action{Microsoft.Extensions.Configuration.IConfigurationBuilder})">
|
||||
<summary>
|
||||
Set up the configuration for the builder itself. This will be used to initialize the <see cref="T:Microsoft.Extensions.Hosting.IHostEnvironment"/>
|
||||
for use later in the build process. This can be called multiple times and the results will be additive.
|
||||
</summary>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
|
||||
to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.ConfigureAppConfiguration(System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Configuration.IConfigurationBuilder})">
|
||||
<summary>
|
||||
Sets up the configuration for the remainder of the build process and application. This can be called multiple times and
|
||||
the results will be additive. The results will be available at <see cref="P:Microsoft.Extensions.Hosting.HostBuilderContext.Configuration"/> for
|
||||
subsequent operations, as well as in <see cref="P:Microsoft.Extensions.Hosting.IHost.Services"/>.
|
||||
</summary>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
|
||||
to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.ConfigureServices(System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.DependencyInjection.IServiceCollection})">
|
||||
<summary>
|
||||
Adds services to the container. This can be called multiple times and the results will be additive.
|
||||
</summary>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
|
||||
to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.UseServiceProviderFactory``1(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory{``0})">
|
||||
<summary>
|
||||
Overrides the factory used to create the service provider.
|
||||
</summary>
|
||||
<typeparam name="TContainerBuilder">The type of the builder to create.</typeparam>
|
||||
<param name="factory">A factory used for creating service providers.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.UseServiceProviderFactory``1(System.Func{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.DependencyInjection.IServiceProviderFactory{``0}})">
|
||||
<summary>
|
||||
Overrides the factory used to create the service provider.
|
||||
</summary>
|
||||
<param name="factory">A factory used for creating service providers.</param>
|
||||
<typeparam name="TContainerBuilder">The type of the builder to create.</typeparam>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.ConfigureContainer``1(System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,``0})">
|
||||
<summary>
|
||||
Enables configuring the instantiated dependency container. This can be called multiple times and
|
||||
the results will be additive.
|
||||
</summary>
|
||||
<typeparam name="TContainerBuilder">The type of the builder to create.</typeparam>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
|
||||
to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.Build">
|
||||
<summary>
|
||||
Run the given actions to initialize the host. This can only be called once.
|
||||
</summary>
|
||||
<returns>An initialized <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.</returns>
|
||||
<remarks>Adds basic services to the host such as application lifetime, host environment, and logging.</remarks>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions">
|
||||
<summary>
|
||||
Provides extension methods for the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> from the hosting package.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseEnvironment(Microsoft.Extensions.Hosting.IHostBuilder,System.String)">
|
||||
<summary>
|
||||
Specifies the environment to be used by the host. To avoid the environment being overwritten by a default
|
||||
value, ensure this is called after defaults are configured.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> to configure.</param>
|
||||
<param name="environment">The environment to host the application in.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseContentRoot(Microsoft.Extensions.Hosting.IHostBuilder,System.String)">
|
||||
<summary>
|
||||
Specifies the content root directory to be used by the host. To avoid the content root directory being
|
||||
overwritten by a default value, ensure this is called after defaults are configured.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> to configure.</param>
|
||||
<param name="contentRoot">Path to root directory of the application.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseDefaultServiceProvider(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.DependencyInjection.ServiceProviderOptions})">
|
||||
<summary>
|
||||
Specifies the <see cref="T:System.IServiceProvider"/> to be the default one.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> to configure.</param>
|
||||
<param name="configure">The delegate that configures the <see cref="T:System.IServiceProvider"/>.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseDefaultServiceProvider(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.DependencyInjection.ServiceProviderOptions})">
|
||||
<summary>
|
||||
Specifies the <see cref="T:System.IServiceProvider"/> to be the default one.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> to configure.</param>
|
||||
<param name="configure">The delegate that configures the <see cref="T:System.IServiceProvider"/>.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureLogging(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Logging.ILoggingBuilder})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the provided <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>. This can be called multiple times.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureLogging">The delegate that configures the <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureLogging(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Logging.ILoggingBuilder})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the provided <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>. This can be called multiple times.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureLogging">The delegate that configures the <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureHostOptions(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Hosting.HostOptions})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.HostOptions"/> of the <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.HostOptions"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureHostOptions(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostOptions})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.HostOptions"/> of the <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.HostOptions"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureAppConfiguration(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Configuration.IConfigurationBuilder})">
|
||||
<summary>
|
||||
Sets up the configuration for the remainder of the build process and application. This can be called multiple times and
|
||||
the results will be additive. The results will be available at <see cref="P:Microsoft.Extensions.Hosting.HostBuilderContext.Configuration"/> for
|
||||
subsequent operations, as well as in <see cref="P:Microsoft.Extensions.Hosting.IHost.Services"/>.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
|
||||
to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureServices(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.DependencyInjection.IServiceCollection})">
|
||||
<summary>
|
||||
Adds services to the container. This can be called multiple times and the results will be additive.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureContainer``1(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{``0})">
|
||||
<summary>
|
||||
Enables configuring the instantiated dependency container. This can be called multiple times and
|
||||
the results will be additive.
|
||||
</summary>
|
||||
<typeparam name="TContainerBuilder">The type of builder.</typeparam>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureDelegate">The delegate for configuring the <typeparamref name="TContainerBuilder"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureDefaults(Microsoft.Extensions.Hosting.IHostBuilder,System.String[])">
|
||||
<summary>
|
||||
Configures an existing <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> instance with pre-configured defaults. This will overwrite
|
||||
previously configured values and is intended to be called before additional configuration calls.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>:
|
||||
* set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/>
|
||||
* load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables
|
||||
* load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args
|
||||
* load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'
|
||||
* load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.json' and '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json' when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/> is not empty
|
||||
* load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly
|
||||
* load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables
|
||||
* load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args
|
||||
* configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output
|
||||
* enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'
|
||||
</remarks>
|
||||
<param name="builder">The existing builder to configure.</param>
|
||||
<param name="args">The command line args.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseConsoleLifetime(Microsoft.Extensions.Hosting.IHostBuilder)">
|
||||
<summary>
|
||||
Listens for Ctrl+C or SIGTERM and calls <see cref="M:Microsoft.Extensions.Hosting.IHostApplicationLifetime.StopApplication"/> to start the shutdown process.
|
||||
This will unblock extensions like RunAsync and WaitForShutdownAsync.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseConsoleLifetime(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.ConsoleLifetimeOptions})">
|
||||
<summary>
|
||||
Listens for Ctrl+C or SIGTERM and calls <see cref="M:Microsoft.Extensions.Hosting.IHostApplicationLifetime.StopApplication"/> to start the shutdown process.
|
||||
This will unblock extensions like RunAsync and WaitForShutdownAsync.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.RunConsoleAsync(Microsoft.Extensions.Hosting.IHostBuilder,System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Enables console support, builds and starts the host, and waits for Ctrl+C or SIGTERM to shut down.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the console.</param>
|
||||
<returns>A <see cref="T:System.Threading.Tasks.Task"/> that only completes when the token is triggered or shutdown is triggered.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.RunConsoleAsync(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.ConsoleLifetimeOptions},System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Enables console support, builds and starts the host, and waits for Ctrl+C or SIGTERM to shut down.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/>.</param>
|
||||
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the console.</param>
|
||||
<returns>A <see cref="T:System.Threading.Tasks.Task"/> that only completes when the token is triggered or shutdown is triggered.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureMetrics(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the provided <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder"/>. This can be called multiple times.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureMetrics">The delegate that configures the <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureMetrics(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the provided <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder"/>. This can be called multiple times.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureMetrics">The delegate that configures the <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.HostOptions">
|
||||
<summary>
|
||||
Options for <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostOptions.ShutdownTimeout">
|
||||
<summary>
|
||||
Gets or sets the default timeout for <see cref="M:Microsoft.Extensions.Hosting.IHost.StopAsync(System.Threading.CancellationToken)"/>.
|
||||
</summary>
|
||||
<remarks>
|
||||
This timeout also encompasses all host services implementing
|
||||
<see cref="M:Microsoft.Extensions.Hosting.IHostedLifecycleService.StoppingAsync(System.Threading.CancellationToken)"/> and
|
||||
<see cref="M:Microsoft.Extensions.Hosting.IHostedLifecycleService.StoppedAsync(System.Threading.CancellationToken)"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostOptions.StartupTimeout">
|
||||
<summary>
|
||||
Gets or sets the default timeout for <see cref="M:Microsoft.Extensions.Hosting.IHost.StartAsync(System.Threading.CancellationToken)"/>.
|
||||
</summary>
|
||||
<remarks>
|
||||
This timeout also encompasses all host services implementing
|
||||
<see cref="M:Microsoft.Extensions.Hosting.IHostedLifecycleService.StartingAsync(System.Threading.CancellationToken)"/> and
|
||||
<see cref="M:Microsoft.Extensions.Hosting.IHostedLifecycleService.StartedAsync(System.Threading.CancellationToken)"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostOptions.ServicesStartConcurrently">
|
||||
<summary>
|
||||
Gets or sets a value that indicates if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will start registered instances of <see cref="T:Microsoft.Extensions.Hosting.IHostedService"/> concurrently or sequentially.
|
||||
</summary>
|
||||
<value>
|
||||
<see langword="true"/> if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will start registered instances of <see cref="T:Microsoft.Extensions.Hosting.IHostedService"/> concurrently; <see langword="false"/> if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will start registered instances sequentially. The default is <see langword="false"/> .
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostOptions.ServicesStopConcurrently">
|
||||
<summary>
|
||||
Gets or sets a value that indicates if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will stop registered instances of <see cref="T:Microsoft.Extensions.Hosting.IHostedService"/> concurrently or sequentially.
|
||||
</summary>
|
||||
<value>
|
||||
<see langword="true"/> if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will stop registered instances of <see cref="T:Microsoft.Extensions.Hosting.IHostedService"/> concurrently; <see langword="false"/> if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will stop registered instances sequentially. The default is <see langword="false"/> .
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostOptions.BackgroundServiceExceptionBehavior">
|
||||
<summary>
|
||||
Gets or sets the behavior the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will follow when any of
|
||||
its <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> instances throw an unhandled exception.
|
||||
</summary>
|
||||
<remarks>
|
||||
Defaults to <see cref="F:Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior.StopHost"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime">
|
||||
<summary>
|
||||
Allows consumers to perform cleanup during a graceful shutdown.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.#ctor(Microsoft.Extensions.Logging.ILogger{Microsoft.Extensions.Hosting.Internal.ApplicationLifetime})">
|
||||
<summary>
|
||||
Initializes an <see cref="T:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime"/> instance using the specified logger.
|
||||
</summary>
|
||||
<param name="logger">The logger to initialize this instance with.</param>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.ApplicationStarted">
|
||||
<summary>
|
||||
Gets a cancellation token. Triggered when the application host has fully started and is about to wait
|
||||
for a graceful shutdown.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.ApplicationStopping">
|
||||
<summary>
|
||||
Gets a cancellation token. Triggered when the application host is performing a graceful shutdown.
|
||||
Request might still be in flight. Shutdown will block until this event completes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.ApplicationStopped">
|
||||
<summary>
|
||||
Gets a cancellation token. Triggered when the application host is performing a graceful shutdown.
|
||||
All requests should be complete at this point. Shutdown will block
|
||||
until this event completes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.StopApplication">
|
||||
<summary>
|
||||
Signals the ApplicationStopping event and blocks until it completes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.NotifyStarted">
|
||||
<summary>
|
||||
Signals the ApplicationStarted event and blocks until it completes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.NotifyStopped">
|
||||
<summary>
|
||||
Signals the ApplicationStopped event and blocks until it completes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime">
|
||||
<summary>
|
||||
Listens for Ctrl+C or SIGTERM and initiates shutdown.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.#ctor(Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Hosting.ConsoleLifetimeOptions},Microsoft.Extensions.Hosting.IHostEnvironment,Microsoft.Extensions.Hosting.IHostApplicationLifetime,Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Hosting.HostOptions})">
|
||||
<summary>
|
||||
Initializes a <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/> instance using the specified console lifetime options, host environment, host application lifetime, and host options.
|
||||
</summary>
|
||||
<param name="options">An object used to retrieve <see cref="T:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions"/> instances.</param>
|
||||
<param name="environment">Information about the hosting environment an application is running in.</param>
|
||||
<param name="applicationLifetime">An object that allows consumers to be notified of application lifetime events.</param>
|
||||
<param name="hostOptions">An object used to retrieve internal host options instances.</param>
|
||||
<exception cref="T:System.ArgumentNullException"><paramref name="options"/> or <paramref name="environment"/> or <paramref name="applicationLifetime"/> or <paramref name="hostOptions"/> is <see langword="null"/>.</exception>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.#ctor(Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Hosting.ConsoleLifetimeOptions},Microsoft.Extensions.Hosting.IHostEnvironment,Microsoft.Extensions.Hosting.IHostApplicationLifetime,Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Hosting.HostOptions},Microsoft.Extensions.Logging.ILoggerFactory)">
|
||||
<summary>
|
||||
Initializes a <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/> instance using the specified console lifetime options, host environment, host options, and logger factory.
|
||||
</summary>
|
||||
<param name="options">An object used to retrieve <see cref="T:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions"/> instances.</param>
|
||||
<param name="environment">Information about the hosting environment an application is running in.</param>
|
||||
<param name="applicationLifetime">An object that allows consumers to be notified of application lifetime events.</param>
|
||||
<param name="hostOptions">An object used to retrieve <see cref="P:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.HostOptions"/> instances.</param>
|
||||
<param name="loggerFactory">An object to configure the logging system and create instances of <see cref="T:Microsoft.Extensions.Logging.ILogger"/> from the registered <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>.</param>
|
||||
<exception cref="T:System.ArgumentNullException"><paramref name="options"/> or <paramref name="environment"/> or <paramref name="applicationLifetime"/> or <paramref name="hostOptions"/> or <paramref name="loggerFactory"/> is <see langword="null"/>.</exception>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.WaitForStartAsync(System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Registers the application start, application stop and shutdown handlers for this application.
|
||||
</summary>
|
||||
<param name="cancellationToken">The cancellation token to monitor for cancellation requests.</param>
|
||||
<returns>A <see cref="T:System.Threading.Tasks.Task"/> that represents the asynchronous registration operation.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.StopAsync(System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
This method does nothing.
|
||||
</summary>
|
||||
<param name="cancellationToken">A cancellation token instance.</param>
|
||||
<returns>A <see cref="T:System.Threading.Tasks.Task"/> that represents a completed task.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.Dispose">
|
||||
<summary>
|
||||
Unregisters the shutdown handlers and disposes the application start and application stop registrations.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.Host.StartAsync(System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Order:
|
||||
IHostLifetime.WaitForStartAsync
|
||||
Services.GetService{IStartupValidator}().Validate()
|
||||
IHostedLifecycleService.StartingAsync
|
||||
IHostedService.Start
|
||||
IHostedLifecycleService.StartedAsync
|
||||
IHostApplicationLifetime.ApplicationStarted
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.Host.StopAsync(System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Order:
|
||||
IHostedLifecycleService.StoppingAsync
|
||||
IHostApplicationLifetime.ApplicationStopping
|
||||
IHostedService.Stop
|
||||
IHostedLifecycleService.StoppedAsync
|
||||
IHostApplicationLifetime.ApplicationStopped
|
||||
IHostLifetime.StopAsync
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.Internal.HostingEnvironment">
|
||||
<summary>
|
||||
This API supports infrastructure and is not intended to be used
|
||||
directly from your code. This API may change or be removed in future releases.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.HostingEnvironment.EnvironmentName">
|
||||
<summary>
|
||||
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.HostingEnvironment.ApplicationName">
|
||||
<summary>
|
||||
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.HostingEnvironment.ContentRootPath">
|
||||
<summary>
|
||||
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.HostingEnvironment.ContentRootFileProvider">
|
||||
<summary>
|
||||
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.Internal.NullLifetime">
|
||||
<summary>
|
||||
Minimalistic lifetime that does nothing.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ApplicationNameChangeNotSupported">
|
||||
<summary>The application name changed from "{0}" to "{1}". Changing host configuration is not supported.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.BackgroundServiceExceptionStoppedHost">
|
||||
<summary>The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will no ...</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.BuildCalled">
|
||||
<summary>Build can only be called once.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ContentRootChangeNotSupported">
|
||||
<summary>The content root changed from "{0}" to "{1}". Changing host configuration is not supported.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.CreateBuilderCallBeforeCreateServiceProvider">
|
||||
<summary>CreateBuilder must be called before CreateServiceProvider</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.EnvironmentNameChangeNotSupoprted">
|
||||
<summary>The environment name changed from "{0}" to "{1}". Changing host configuration is not supported.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.IHostApplicationLifetimeReplacementNotSupported">
|
||||
<summary>Replacing IHostApplicationLifetime is not supported.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.NullIServiceProvider">
|
||||
<summary>The IServiceProviderFactory returned a null IServiceProvider</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ResolverReturnedNull">
|
||||
<summary>The resolver returned a null IServiceProviderFactory</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
@@ -0,0 +1,744 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Extensions.Hosting</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior">
|
||||
<summary>
|
||||
Specifies a behavior that the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will honor if an
|
||||
unhandled exception occurs in one of its <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> instances.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior.StopHost">
|
||||
<summary>
|
||||
Stops the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> instance.
|
||||
</summary>
|
||||
<remarks>
|
||||
If a <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> throws an exception, the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> instance stops, and the process continues.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="F:Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior.Ignore">
|
||||
<summary>
|
||||
Ignore exceptions thrown in <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/>.
|
||||
</summary>
|
||||
<remarks>
|
||||
If a <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> throws an exception, the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will log the error, but otherwise ignore it.
|
||||
The <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> is not restarted.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions">
|
||||
<summary>
|
||||
Provides option flags for <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions.SuppressStatusMessages">
|
||||
<summary>
|
||||
Gets or sets a value that indicates if host lifetime status messages should be suppressed, such as on startup.
|
||||
</summary>
|
||||
<value>
|
||||
<see langword="true"/> if host lifetime status messages should be suppressed.
|
||||
The default is <see langword="false"/>.
|
||||
</value>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.Host">
|
||||
<summary>
|
||||
Provides convenience methods for creating instances of <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> with pre-configured defaults.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/> class with pre-configured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder(System.String[])">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/> class with pre-configured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
<param name="args">The command line args.</param>
|
||||
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with pre-configured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder(System.String[])">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with pre-configured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
<param name="args">The command line args.</param>
|
||||
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder(Microsoft.Extensions.Hosting.HostApplicationBuilderSettings)">
|
||||
<inheritdoc cref="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder" />
|
||||
<param name="settings">Controls the initial configuration and other settings for constructing the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Host.CreateEmptyApplicationBuilder(Microsoft.Extensions.Hosting.HostApplicationBuilderSettings)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with no pre-configured defaults.
|
||||
</summary>
|
||||
<param name="settings">Controls the initial configuration and other settings for constructing the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</param>
|
||||
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.HostApplicationBuilder">
|
||||
<summary>
|
||||
Represents a hosted applications and services builder that helps manage configuration, logging, lifetime, and more.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with preconfigured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.json' and '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json' when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/> is not empty</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.#ctor(System.String[])">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> class with preconfigured defaults.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the returned <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>:
|
||||
<list type="bullet">
|
||||
<item><description>set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/></description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables</description></item>
|
||||
<item><description>load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.json' and '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json' when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/> is not empty</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables</description></item>
|
||||
<item><description>load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args</description></item>
|
||||
<item><description>configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output</description></item>
|
||||
<item><description>enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'</description></item>
|
||||
</list>
|
||||
</remarks>
|
||||
<param name="args">The command line args.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.#ctor(Microsoft.Extensions.Hosting.HostApplicationBuilderSettings)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.
|
||||
</summary>
|
||||
<param name="settings">Settings controlling initial configuration and whether default settings should be used.</param>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Environment">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Configuration">
|
||||
<summary>
|
||||
Gets the set of key/value configuration properties.
|
||||
</summary>
|
||||
<remarks>
|
||||
This can be mutated by adding more configuration sources, which will update its current view.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Services">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Logging">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Metrics">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.ConfigureContainer``1(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory{``0},System.Action{``0})">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilder.Build">
|
||||
<summary>
|
||||
Builds the host. This method can only be called once.
|
||||
</summary>
|
||||
<returns>An initialized <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings">
|
||||
<summary>
|
||||
Settings for constructing an <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.#ctor">
|
||||
<summary>
|
||||
Initializes an instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.DisableDefaults">
|
||||
<summary>
|
||||
Gets or sets a value that indicates whether the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> instance is configured with pre-configured defaults.
|
||||
</summary>
|
||||
<value>
|
||||
<see langword="false"/> if the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder"/> instance is configured with pre-configured defaults.
|
||||
This has a similar effect to calling <see cref="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureDefaults(Microsoft.Extensions.Hosting.IHostBuilder,System.String[])"/>.
|
||||
</value>
|
||||
<remarks>
|
||||
The following defaults are applied to the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>:
|
||||
* set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/>
|
||||
* load <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables
|
||||
* load <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'
|
||||
* load <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly
|
||||
* load <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables
|
||||
* load <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args
|
||||
* configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output
|
||||
* enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.Args">
|
||||
<summary>
|
||||
Gets or sets the command-line arguments to add to the <see cref="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Configuration"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.Configuration">
|
||||
<summary>
|
||||
Gets or sets the initial configuration sources to be added to the <see cref="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Configuration"/>. These sources can influence
|
||||
the <see cref="P:Microsoft.Extensions.Hosting.HostApplicationBuilder.Environment"/> through the use of <see cref="T:Microsoft.Extensions.Hosting.HostDefaults"/> keys. Disposing the built
|
||||
<see cref="T:Microsoft.Extensions.Hosting.IHost"/> disposes the <see cref="T:Microsoft.Extensions.Configuration.ConfigurationManager"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.EnvironmentName">
|
||||
<summary>
|
||||
Gets or sets the environment name.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.ApplicationName">
|
||||
<summary>
|
||||
Gets or sets the application name.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostApplicationBuilderSettings.ContentRootPath">
|
||||
<summary>
|
||||
Gets or sets the content root path.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.HostBuilder">
|
||||
<summary>
|
||||
A program initialization utility.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of <see cref="T:Microsoft.Extensions.Hosting.HostBuilder"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostBuilder.Properties">
|
||||
<summary>
|
||||
Gets a central location for sharing state between components during the host building process.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.ConfigureHostConfiguration(System.Action{Microsoft.Extensions.Configuration.IConfigurationBuilder})">
|
||||
<summary>
|
||||
Set up the configuration for the builder itself. This will be used to initialize the <see cref="T:Microsoft.Extensions.Hosting.IHostEnvironment"/>
|
||||
for use later in the build process. This can be called multiple times and the results will be additive.
|
||||
</summary>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
|
||||
to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.ConfigureAppConfiguration(System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Configuration.IConfigurationBuilder})">
|
||||
<summary>
|
||||
Sets up the configuration for the remainder of the build process and application. This can be called multiple times and
|
||||
the results will be additive. The results will be available at <see cref="P:Microsoft.Extensions.Hosting.HostBuilderContext.Configuration"/> for
|
||||
subsequent operations, as well as in <see cref="P:Microsoft.Extensions.Hosting.IHost.Services"/>.
|
||||
</summary>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
|
||||
to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.ConfigureServices(System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.DependencyInjection.IServiceCollection})">
|
||||
<summary>
|
||||
Adds services to the container. This can be called multiple times and the results will be additive.
|
||||
</summary>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
|
||||
to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.UseServiceProviderFactory``1(Microsoft.Extensions.DependencyInjection.IServiceProviderFactory{``0})">
|
||||
<summary>
|
||||
Overrides the factory used to create the service provider.
|
||||
</summary>
|
||||
<typeparam name="TContainerBuilder">The type of the builder to create.</typeparam>
|
||||
<param name="factory">A factory used for creating service providers.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.UseServiceProviderFactory``1(System.Func{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.DependencyInjection.IServiceProviderFactory{``0}})">
|
||||
<summary>
|
||||
Overrides the factory used to create the service provider.
|
||||
</summary>
|
||||
<param name="factory">A factory used for creating service providers.</param>
|
||||
<typeparam name="TContainerBuilder">The type of the builder to create.</typeparam>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.ConfigureContainer``1(System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,``0})">
|
||||
<summary>
|
||||
Enables configuring the instantiated dependency container. This can be called multiple times and
|
||||
the results will be additive.
|
||||
</summary>
|
||||
<typeparam name="TContainerBuilder">The type of the builder to create.</typeparam>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
|
||||
to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostBuilder.Build">
|
||||
<summary>
|
||||
Run the given actions to initialize the host. This can only be called once.
|
||||
</summary>
|
||||
<returns>An initialized <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.</returns>
|
||||
<remarks>Adds basic services to the host such as application lifetime, host environment, and logging.</remarks>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions">
|
||||
<summary>
|
||||
Provides extension methods for the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> from the hosting package.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseEnvironment(Microsoft.Extensions.Hosting.IHostBuilder,System.String)">
|
||||
<summary>
|
||||
Specifies the environment to be used by the host. To avoid the environment being overwritten by a default
|
||||
value, ensure this is called after defaults are configured.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> to configure.</param>
|
||||
<param name="environment">The environment to host the application in.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseContentRoot(Microsoft.Extensions.Hosting.IHostBuilder,System.String)">
|
||||
<summary>
|
||||
Specifies the content root directory to be used by the host. To avoid the content root directory being
|
||||
overwritten by a default value, ensure this is called after defaults are configured.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> to configure.</param>
|
||||
<param name="contentRoot">Path to root directory of the application.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseDefaultServiceProvider(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.DependencyInjection.ServiceProviderOptions})">
|
||||
<summary>
|
||||
Specifies the <see cref="T:System.IServiceProvider"/> to be the default one.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> to configure.</param>
|
||||
<param name="configure">The delegate that configures the <see cref="T:System.IServiceProvider"/>.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseDefaultServiceProvider(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.DependencyInjection.ServiceProviderOptions})">
|
||||
<summary>
|
||||
Specifies the <see cref="T:System.IServiceProvider"/> to be the default one.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> to configure.</param>
|
||||
<param name="configure">The delegate that configures the <see cref="T:System.IServiceProvider"/>.</param>
|
||||
<returns>The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureLogging(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Logging.ILoggingBuilder})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the provided <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>. This can be called multiple times.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureLogging">The delegate that configures the <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureLogging(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Logging.ILoggingBuilder})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the provided <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>. This can be called multiple times.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureLogging">The delegate that configures the <see cref="T:Microsoft.Extensions.Logging.ILoggingBuilder"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureHostOptions(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Hosting.HostOptions})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.HostOptions"/> of the <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.HostOptions"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureHostOptions(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostOptions})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.HostOptions"/> of the <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.HostOptions"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureAppConfiguration(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Configuration.IConfigurationBuilder})">
|
||||
<summary>
|
||||
Sets up the configuration for the remainder of the build process and application. This can be called multiple times and
|
||||
the results will be additive. The results will be available at <see cref="P:Microsoft.Extensions.Hosting.HostBuilderContext.Configuration"/> for
|
||||
subsequent operations, as well as in <see cref="P:Microsoft.Extensions.Hosting.IHost.Services"/>.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder"/> that will be used
|
||||
to construct the <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> for the host.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureServices(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.DependencyInjection.IServiceCollection})">
|
||||
<summary>
|
||||
Adds services to the container. This can be called multiple times and the results will be additive.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureDelegate">The delegate for configuring the <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureContainer``1(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{``0})">
|
||||
<summary>
|
||||
Enables configuring the instantiated dependency container. This can be called multiple times and
|
||||
the results will be additive.
|
||||
</summary>
|
||||
<typeparam name="TContainerBuilder">The type of builder.</typeparam>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureDelegate">The delegate for configuring the <typeparamref name="TContainerBuilder"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureDefaults(Microsoft.Extensions.Hosting.IHostBuilder,System.String[])">
|
||||
<summary>
|
||||
Configures an existing <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> instance with pre-configured defaults. This will overwrite
|
||||
previously configured values and is intended to be called before additional configuration calls.
|
||||
</summary>
|
||||
<remarks>
|
||||
The following defaults are applied to the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/>:
|
||||
* set the <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ContentRootPath"/> to the result of <see cref="M:System.IO.Directory.GetCurrentDirectory"/>
|
||||
* load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from "DOTNET_" prefixed environment variables
|
||||
* load host <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args
|
||||
* load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from 'appsettings.json' and 'appsettings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json'
|
||||
* load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.json' and '[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/>].settings.[<see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/>].json' when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.ApplicationName"/> is not empty
|
||||
* load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from User Secrets when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly
|
||||
* load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from environment variables
|
||||
* load app <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> from supplied command line args
|
||||
* configure the <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory"/> to log to the console, debug, and event source output
|
||||
* enables scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName"/> is 'Development'
|
||||
</remarks>
|
||||
<param name="builder">The existing builder to configure.</param>
|
||||
<param name="args">The command line args.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseConsoleLifetime(Microsoft.Extensions.Hosting.IHostBuilder)">
|
||||
<summary>
|
||||
Listens for Ctrl+C or SIGTERM and calls <see cref="M:Microsoft.Extensions.Hosting.IHostApplicationLifetime.StopApplication"/> to start the shutdown process.
|
||||
This will unblock extensions like RunAsync and WaitForShutdownAsync.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseConsoleLifetime(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.ConsoleLifetimeOptions})">
|
||||
<summary>
|
||||
Listens for Ctrl+C or SIGTERM and calls <see cref="M:Microsoft.Extensions.Hosting.IHostApplicationLifetime.StopApplication"/> to start the shutdown process.
|
||||
This will unblock extensions like RunAsync and WaitForShutdownAsync.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.RunConsoleAsync(Microsoft.Extensions.Hosting.IHostBuilder,System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Enables console support, builds and starts the host, and waits for Ctrl+C or SIGTERM to shut down.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the console.</param>
|
||||
<returns>A <see cref="T:System.Threading.Tasks.Task"/> that only completes when the token is triggered or shutdown is triggered.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.RunConsoleAsync(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.ConsoleLifetimeOptions},System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Enables console support, builds and starts the host, and waits for Ctrl+C or SIGTERM to shut down.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureOptions">The delegate for configuring the <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/>.</param>
|
||||
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the console.</param>
|
||||
<returns>A <see cref="T:System.Threading.Tasks.Task"/> that only completes when the token is triggered or shutdown is triggered.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureMetrics(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the provided <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder"/>. This can be called multiple times.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureMetrics">The delegate that configures the <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureMetrics(Microsoft.Extensions.Hosting.IHostBuilder,System.Action{Microsoft.Extensions.Hosting.HostBuilderContext,Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder})">
|
||||
<summary>
|
||||
Adds a delegate for configuring the provided <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder"/>. This can be called multiple times.
|
||||
</summary>
|
||||
<param name="hostBuilder">The <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> to configure.</param>
|
||||
<param name="configureMetrics">The delegate that configures the <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder"/>.</param>
|
||||
<returns>The same instance of the <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder"/> for chaining.</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.HostOptions">
|
||||
<summary>
|
||||
Options for <see cref="T:Microsoft.Extensions.Hosting.IHost"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostOptions.ShutdownTimeout">
|
||||
<summary>
|
||||
Gets or sets the default timeout for <see cref="M:Microsoft.Extensions.Hosting.IHost.StopAsync(System.Threading.CancellationToken)"/>.
|
||||
</summary>
|
||||
<remarks>
|
||||
This timeout also encompasses all host services implementing
|
||||
<see cref="M:Microsoft.Extensions.Hosting.IHostedLifecycleService.StoppingAsync(System.Threading.CancellationToken)"/> and
|
||||
<see cref="M:Microsoft.Extensions.Hosting.IHostedLifecycleService.StoppedAsync(System.Threading.CancellationToken)"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostOptions.StartupTimeout">
|
||||
<summary>
|
||||
Gets or sets the default timeout for <see cref="M:Microsoft.Extensions.Hosting.IHost.StartAsync(System.Threading.CancellationToken)"/>.
|
||||
</summary>
|
||||
<remarks>
|
||||
This timeout also encompasses all host services implementing
|
||||
<see cref="M:Microsoft.Extensions.Hosting.IHostedLifecycleService.StartingAsync(System.Threading.CancellationToken)"/> and
|
||||
<see cref="M:Microsoft.Extensions.Hosting.IHostedLifecycleService.StartedAsync(System.Threading.CancellationToken)"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostOptions.ServicesStartConcurrently">
|
||||
<summary>
|
||||
Gets or sets a value that indicates if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will start registered instances of <see cref="T:Microsoft.Extensions.Hosting.IHostedService"/> concurrently or sequentially.
|
||||
</summary>
|
||||
<value>
|
||||
<see langword="true"/> if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will start registered instances of <see cref="T:Microsoft.Extensions.Hosting.IHostedService"/> concurrently; <see langword="false"/> if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will start registered instances sequentially. The default is <see langword="false"/> .
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostOptions.ServicesStopConcurrently">
|
||||
<summary>
|
||||
Gets or sets a value that indicates if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will stop registered instances of <see cref="T:Microsoft.Extensions.Hosting.IHostedService"/> concurrently or sequentially.
|
||||
</summary>
|
||||
<value>
|
||||
<see langword="true"/> if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will stop registered instances of <see cref="T:Microsoft.Extensions.Hosting.IHostedService"/> concurrently; <see langword="false"/> if the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will stop registered instances sequentially. The default is <see langword="false"/> .
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.HostOptions.BackgroundServiceExceptionBehavior">
|
||||
<summary>
|
||||
Gets or sets the behavior the <see cref="T:Microsoft.Extensions.Hosting.IHost"/> will follow when any of
|
||||
its <see cref="T:Microsoft.Extensions.Hosting.BackgroundService"/> instances throw an unhandled exception.
|
||||
</summary>
|
||||
<remarks>
|
||||
Defaults to <see cref="F:Microsoft.Extensions.Hosting.BackgroundServiceExceptionBehavior.StopHost"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime">
|
||||
<summary>
|
||||
Allows consumers to perform cleanup during a graceful shutdown.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.#ctor(Microsoft.Extensions.Logging.ILogger{Microsoft.Extensions.Hosting.Internal.ApplicationLifetime})">
|
||||
<summary>
|
||||
Initializes an <see cref="T:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime"/> instance using the specified logger.
|
||||
</summary>
|
||||
<param name="logger">The logger to initialize this instance with.</param>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.ApplicationStarted">
|
||||
<summary>
|
||||
Gets a cancellation token. Triggered when the application host has fully started and is about to wait
|
||||
for a graceful shutdown.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.ApplicationStopping">
|
||||
<summary>
|
||||
Gets a cancellation token. Triggered when the application host is performing a graceful shutdown.
|
||||
Request might still be in flight. Shutdown will block until this event completes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.ApplicationStopped">
|
||||
<summary>
|
||||
Gets a cancellation token. Triggered when the application host is performing a graceful shutdown.
|
||||
All requests should be complete at this point. Shutdown will block
|
||||
until this event completes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.StopApplication">
|
||||
<summary>
|
||||
Signals the ApplicationStopping event and blocks until it completes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.NotifyStarted">
|
||||
<summary>
|
||||
Signals the ApplicationStarted event and blocks until it completes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.NotifyStopped">
|
||||
<summary>
|
||||
Signals the ApplicationStopped event and blocks until it completes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime">
|
||||
<summary>
|
||||
Listens for Ctrl+C or SIGTERM and initiates shutdown.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.#ctor(Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Hosting.ConsoleLifetimeOptions},Microsoft.Extensions.Hosting.IHostEnvironment,Microsoft.Extensions.Hosting.IHostApplicationLifetime,Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Hosting.HostOptions})">
|
||||
<summary>
|
||||
Initializes a <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/> instance using the specified console lifetime options, host environment, host application lifetime, and host options.
|
||||
</summary>
|
||||
<param name="options">An object used to retrieve <see cref="T:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions"/> instances.</param>
|
||||
<param name="environment">Information about the hosting environment an application is running in.</param>
|
||||
<param name="applicationLifetime">An object that allows consumers to be notified of application lifetime events.</param>
|
||||
<param name="hostOptions">An object used to retrieve internal host options instances.</param>
|
||||
<exception cref="T:System.ArgumentNullException"><paramref name="options"/> or <paramref name="environment"/> or <paramref name="applicationLifetime"/> or <paramref name="hostOptions"/> is <see langword="null"/>.</exception>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.#ctor(Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Hosting.ConsoleLifetimeOptions},Microsoft.Extensions.Hosting.IHostEnvironment,Microsoft.Extensions.Hosting.IHostApplicationLifetime,Microsoft.Extensions.Options.IOptions{Microsoft.Extensions.Hosting.HostOptions},Microsoft.Extensions.Logging.ILoggerFactory)">
|
||||
<summary>
|
||||
Initializes a <see cref="T:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime"/> instance using the specified console lifetime options, host environment, host options, and logger factory.
|
||||
</summary>
|
||||
<param name="options">An object used to retrieve <see cref="T:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions"/> instances.</param>
|
||||
<param name="environment">Information about the hosting environment an application is running in.</param>
|
||||
<param name="applicationLifetime">An object that allows consumers to be notified of application lifetime events.</param>
|
||||
<param name="hostOptions">An object used to retrieve <see cref="P:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.HostOptions"/> instances.</param>
|
||||
<param name="loggerFactory">An object to configure the logging system and create instances of <see cref="T:Microsoft.Extensions.Logging.ILogger"/> from the registered <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>.</param>
|
||||
<exception cref="T:System.ArgumentNullException"><paramref name="options"/> or <paramref name="environment"/> or <paramref name="applicationLifetime"/> or <paramref name="hostOptions"/> or <paramref name="loggerFactory"/> is <see langword="null"/>.</exception>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.WaitForStartAsync(System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Registers the application start, application stop and shutdown handlers for this application.
|
||||
</summary>
|
||||
<param name="cancellationToken">The cancellation token to monitor for cancellation requests.</param>
|
||||
<returns>A <see cref="T:System.Threading.Tasks.Task"/> that represents the asynchronous registration operation.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.StopAsync(System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
This method does nothing.
|
||||
</summary>
|
||||
<param name="cancellationToken">A cancellation token instance.</param>
|
||||
<returns>A <see cref="T:System.Threading.Tasks.Task"/> that represents a completed task.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.ConsoleLifetime.Dispose">
|
||||
<summary>
|
||||
Unregisters the shutdown handlers and disposes the application start and application stop registrations.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.Host.StartAsync(System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Order:
|
||||
IHostLifetime.WaitForStartAsync
|
||||
Services.GetService{IStartupValidator}().Validate()
|
||||
IHostedLifecycleService.StartingAsync
|
||||
IHostedService.Start
|
||||
IHostedLifecycleService.StartedAsync
|
||||
IHostApplicationLifetime.ApplicationStarted
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.Hosting.Internal.Host.StopAsync(System.Threading.CancellationToken)">
|
||||
<summary>
|
||||
Order:
|
||||
IHostedLifecycleService.StoppingAsync
|
||||
IHostApplicationLifetime.ApplicationStopping
|
||||
IHostedService.Stop
|
||||
IHostedLifecycleService.StoppedAsync
|
||||
IHostApplicationLifetime.ApplicationStopped
|
||||
IHostLifetime.StopAsync
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.Internal.HostingEnvironment">
|
||||
<summary>
|
||||
This API supports infrastructure and is not intended to be used
|
||||
directly from your code. This API may change or be removed in future releases.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.HostingEnvironment.EnvironmentName">
|
||||
<summary>
|
||||
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.HostingEnvironment.ApplicationName">
|
||||
<summary>
|
||||
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.HostingEnvironment.ContentRootPath">
|
||||
<summary>
|
||||
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.Extensions.Hosting.Internal.HostingEnvironment.ContentRootFileProvider">
|
||||
<summary>
|
||||
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.Extensions.Hosting.Internal.NullLifetime">
|
||||
<summary>
|
||||
Minimalistic lifetime that does nothing.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ApplicationNameChangeNotSupported">
|
||||
<summary>The application name changed from "{0}" to "{1}". Changing host configuration is not supported.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.BackgroundServiceExceptionStoppedHost">
|
||||
<summary>The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will no ...</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.BuildCalled">
|
||||
<summary>Build can only be called once.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ContentRootChangeNotSupported">
|
||||
<summary>The content root changed from "{0}" to "{1}". Changing host configuration is not supported.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.CreateBuilderCallBeforeCreateServiceProvider">
|
||||
<summary>CreateBuilder must be called before CreateServiceProvider</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.EnvironmentNameChangeNotSupoprted">
|
||||
<summary>The environment name changed from "{0}" to "{1}". Changing host configuration is not supported.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.IHostApplicationLifetimeReplacementNotSupported">
|
||||
<summary>Replacing IHostApplicationLifetime is not supported.</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.NullIServiceProvider">
|
||||
<summary>The IServiceProviderFactory returned a null IServiceProvider</summary>
|
||||
</member>
|
||||
<member name="P:System.SR.ResolverReturnedNull">
|
||||
<summary>The resolver returned a null IServiceProviderFactory</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -0,0 +1 @@
|
||||
pctuaY0yDfCyHcDn2JcelchDtWXvaX1n63+S8TEyl26QfXsUTX6bviXwYDlg52wQtVUflNZKLrrDLIxHHOg4LQ==
|
||||
Reference in New Issue
Block a user