| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656 |
- <?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="P:Microsoft.Extensions.Hosting.ConsoleLifetimeOptions.SuppressStatusMessages">
- <summary>
- Indicates if host lifetime status messages should be suppressed such as on startup.
- The default is false.
- </summary>
- </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="T:Microsoft.Extensions.Hosting.HostBuilder">
- <summary>
- A program initialization utility.
- </summary>
- </member>
- <member name="P:Microsoft.Extensions.Hosting.HostBuilder.Properties">
- <summary>
- 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>
- </member>
- <member name="M:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseEnvironment(Microsoft.Extensions.Hosting.IHostBuilder,System.String)">
- <summary>
- Specify 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>
- Specify 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>
- Specify 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"></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>
- Specify 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 may 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 may 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"></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 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="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>
- The default timeout for <see cref="M:Microsoft.Extensions.Hosting.IHost.StopAsync(System.Threading.CancellationToken)"/>.
- </summary>
- </member>
- <member name="P:Microsoft.Extensions.Hosting.HostOptions.BackgroundServiceExceptionBehavior">
- <summary>
- 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="P:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.ApplicationStarted">
- <summary>
- 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>
- Triggered when the application host is performing a graceful shutdown.
- Request may still be in flight. Shutdown will block until this event completes.
- </summary>
- </member>
- <member name="P:Microsoft.Extensions.Hosting.Internal.ApplicationLifetime.ApplicationStopped">
- <summary>
- 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="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="T:Microsoft.Extensions.Hosting.Internal.NullLifetime">
- <summary>
- Minimalistic lifetime that does nothing.
- </summary>
- </member>
- <member name="T:Microsoft.Extensions.DependencyInjection.OptionsBuilderExtensions">
- <summary>
- Extension methods for adding configuration related options services to the DI container via <see cref="T:Microsoft.Extensions.Options.OptionsBuilder`1"/>.
- </summary>
- </member>
- <member name="M:Microsoft.Extensions.DependencyInjection.OptionsBuilderExtensions.ValidateOnStart``1(Microsoft.Extensions.Options.OptionsBuilder{``0})">
- <summary>
- Enforces options validation check on start rather than in runtime.
- </summary>
- <typeparam name="TOptions">The type of options.</typeparam>
- <param name="optionsBuilder">The <see cref="T:Microsoft.Extensions.Options.OptionsBuilder`1"/> to configure options instance.</param>
- <returns>The <see cref="T:Microsoft.Extensions.Options.OptionsBuilder`1"/> so that additional calls can be chained.</returns>
- </member>
- <member name="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
- <summary>
- Suppresses reporting of a specific rule violation, allowing multiple suppressions on a
- single code artifact.
- </summary>
- <remarks>
- <see cref="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"/> is different than
- <see cref="T:System.Diagnostics.CodeAnalysis.SuppressMessageAttribute"/> in that it doesn't have a
- <see cref="T:System.Diagnostics.ConditionalAttribute"/>. So it is always preserved in the compiled assembly.
- </remarks>
- </member>
- <member name="M:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.#ctor(System.String,System.String)">
- <summary>
- Initializes a new instance of the <see cref="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"/>
- class, specifying the category of the tool and the identifier for an analysis rule.
- </summary>
- <param name="category">The category for the attribute.</param>
- <param name="checkId">The identifier of the analysis rule the attribute applies to.</param>
- </member>
- <member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Category">
- <summary>
- Gets the category identifying the classification of the attribute.
- </summary>
- <remarks>
- The <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Category"/> property describes the tool or tool analysis category
- for which a message suppression attribute applies.
- </remarks>
- </member>
- <member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.CheckId">
- <summary>
- Gets the identifier of the analysis tool rule to be suppressed.
- </summary>
- <remarks>
- Concatenated together, the <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Category"/> and <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.CheckId"/>
- properties form a unique check identifier.
- </remarks>
- </member>
- <member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Scope">
- <summary>
- Gets or sets the scope of the code that is relevant for the attribute.
- </summary>
- <remarks>
- The Scope property is an optional argument that specifies the metadata scope for which
- the attribute is relevant.
- </remarks>
- </member>
- <member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Target">
- <summary>
- Gets or sets a fully qualified path that represents the target of the attribute.
- </summary>
- <remarks>
- The <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Target"/> property is an optional argument identifying the analysis target
- of the attribute. An example value is "System.IO.Stream.ctor():System.Void".
- Because it is fully qualified, it can be long, particularly for targets such as parameters.
- The analysis tool user interface should be capable of automatically formatting the parameter.
- </remarks>
- </member>
- <member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.MessageId">
- <summary>
- Gets or sets an optional argument expanding on exclusion criteria.
- </summary>
- <remarks>
- The <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.MessageId"/> property is an optional argument that specifies additional
- exclusion where the literal metadata target is not sufficiently precise. For example,
- the <see cref="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"/> cannot be applied within a method,
- and it may be desirable to suppress a violation against a statement in the method that will
- give a rule violation, but not against all statements in the method.
- </remarks>
- </member>
- <member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Justification">
- <summary>
- Gets or sets the justification for suppressing the code analysis message.
- </summary>
- </member>
- <member name="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute">
- <summary>
- Indicates that certain members on a specified <see cref="T:System.Type"/> are accessed dynamically,
- for example through <see cref="N:System.Reflection"/>.
- </summary>
- <remarks>
- This allows tools to understand which members are being accessed during the execution
- of a program.
-
- This attribute is valid on members whose type is <see cref="T:System.Type"/> or <see cref="T:System.String"/>.
-
- When this attribute is applied to a location of type <see cref="T:System.String"/>, the assumption is
- that the string represents a fully qualified type name.
-
- When this attribute is applied to a class, interface, or struct, the members specified
- can be accessed dynamically on <see cref="T:System.Type"/> instances returned from calling
- <see cref="M:System.Object.GetType"/> on instances of that class, interface, or struct.
-
- If the attribute is applied to a method it's treated as a special case and it implies
- the attribute should be applied to the "this" parameter of the method. As such the attribute
- should only be used on instance methods of types assignable to System.Type (or string, but no methods
- will use it there).
- </remarks>
- </member>
- <member name="M:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute.#ctor(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes)">
- <summary>
- Initializes a new instance of the <see cref="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"/> class
- with the specified member types.
- </summary>
- <param name="memberTypes">The types of members dynamically accessed.</param>
- </member>
- <member name="P:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute.MemberTypes">
- <summary>
- Gets the <see cref="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes"/> which specifies the type
- of members dynamically accessed.
- </summary>
- </member>
- <member name="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">
- <summary>
- Specifies the types of members that are dynamically accessed.
-
- This enumeration has a <see cref="T:System.FlagsAttribute"/> attribute that allows a
- bitwise combination of its member values.
- </summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.None">
- <summary>
- Specifies no members.
- </summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor">
- <summary>
- Specifies the default, parameterless public constructor.
- </summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors">
- <summary>
- Specifies all public constructors.
- </summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors">
- <summary>
- Specifies all non-public constructors.
- </summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods">
- <summary>
- Specifies all public methods.
- </summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods">
- <summary>
- Specifies all non-public methods.
- </summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields">
- <summary>
- Specifies all public fields.
- </summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicFields">
- <summary>
- Specifies all non-public fields.
- </summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicNestedTypes">
- <summary>
- Specifies all public nested types.
- </summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicNestedTypes">
- <summary>
- Specifies all non-public nested types.
- </summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties">
- <summary>
- Specifies all public properties.
- </summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicProperties">
- <summary>
- Specifies all non-public properties.
- </summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents">
- <summary>
- Specifies all public events.
- </summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicEvents">
- <summary>
- Specifies all non-public events.
- </summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces">
- <summary>
- Specifies all interfaces implemented by the type.
- </summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.All">
- <summary>
- Specifies all members.
- </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.CreateBuilderCallBeforeCreateServiceProvider">
- <summary>CreateBuilder must be called before CreateServiceProvider</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>
- <member name="T:System.Runtime.Versioning.OSPlatformAttribute">
- <summary>
- Base type for all platform-specific API attributes.
- </summary>
- </member>
- <member name="T:System.Runtime.Versioning.TargetPlatformAttribute">
- <summary>
- Records the platform that the project targeted.
- </summary>
- </member>
- <member name="T:System.Runtime.Versioning.SupportedOSPlatformAttribute">
- <summary>
- Records the operating system (and minimum version) that supports an API. Multiple attributes can be
- applied to indicate support on multiple operating systems.
- </summary>
- <remarks>
- Callers can apply a <see cref="T:System.Runtime.Versioning.SupportedOSPlatformAttribute" />
- or use guards to prevent calls to APIs on unsupported operating systems.
-
- A given platform should only be specified once.
- </remarks>
- </member>
- <member name="T:System.Runtime.Versioning.UnsupportedOSPlatformAttribute">
- <summary>
- Marks APIs that were removed in a given operating system version.
- </summary>
- <remarks>
- Primarily used by OS bindings to indicate APIs that are only available in
- earlier versions.
- </remarks>
- </member>
- <member name="T:System.Runtime.Versioning.SupportedOSPlatformGuardAttribute">
- <summary>
- Annotates a custom guard field, property or method with a supported platform name and optional version.
- Multiple attributes can be applied to indicate guard for multiple supported platforms.
- </summary>
- <remarks>
- Callers can apply a <see cref="T:System.Runtime.Versioning.SupportedOSPlatformGuardAttribute" /> to a field, property or method
- and use that field, property or method in a conditional or assert statements in order to safely call platform specific APIs.
-
- The type of the field or property should be boolean, the method return type should be boolean in order to be used as platform guard.
- </remarks>
- </member>
- <member name="T:System.Runtime.Versioning.UnsupportedOSPlatformGuardAttribute">
- <summary>
- Annotates the custom guard field, property or method with an unsupported platform name and optional version.
- Multiple attributes can be applied to indicate guard for multiple unsupported platforms.
- </summary>
- <remarks>
- Callers can apply a <see cref="T:System.Runtime.Versioning.UnsupportedOSPlatformGuardAttribute" /> to a field, property or method
- and use that field, property or method in a conditional or assert statements as a guard to safely call APIs unsupported on those platforms.
-
- The type of the field or property should be boolean, the method return type should be boolean in order to be used as platform guard.
- </remarks>
- </member>
- </members>
- </doc>
|