bin/Debug/Microsoft.Extensions.Hosting.Abstractions.xml
(开头部分) 21KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.Extensions.Hosting.Abstractions</name>
</assembly>
<members>
<member name="T:Microsoft.Extensions.Hosting.BackgroundService">
<summary>
Base class for implementing a long running <see cref="T:Microsoft.Extensions.Hosting.IHostedService"/>.
</summary>
</member>
<member name="M:Microsoft.Extensions.Hosting.BackgroundService.ExecuteAsync(System.Threading.CancellationToken)">
<summary>
This method is called when the <see cref="T:Microsoft.Extensions.Hosting.IHostedService"/> starts. The implementation should return a task that represents
the lifetime of the long running operation(s) being performed.
</summary>
<param name="stoppingToken">Triggered when <see cref="M:Microsoft.Extensions.Hosting.IHostedService.StopAsync(System.Threading.CancellationToken)"/> is called.</param>
<returns>A <see cref="T:System.Threading.Tasks.Task"/> that represents the long running operations.</returns>
</member>
<member name="M:Microsoft.Extensions.Hosting.BackgroundService.StartAsync(System.Threading.CancellationToken)">
<summary>
Triggered when the application host is ready to start the service.
</summary>
<param name="cancellationToken">Indicates that the start process has been aborted.</param>
</member>
<member name="M:Microsoft.Extensions.Hosting.BackgroundService.StopAsync(System.Threading.CancellationToken)">
<summary>
Triggered when the application host is performing a graceful shutdown.
</summary>
<param name="cancellationToken">Indicates that the shutdown process should no longer be graceful.</param>
</member>
<member name="T:Microsoft.Extensions.Hosting.EnvironmentName">
<summary>
Commonly used environment names.
</summary>
</member>
<member name="T:Microsoft.Extensions.Hosting.HostBuilderContext">
<summary>
Context containing the common services on the <see cref="T:Microsoft.Extensions.Hosting.IHost" />. Some properties may be null until set by the <see cref="T:Microsoft.Extensions.Hosting.IHost" />.
</summary>
</member>
<member name="P:Microsoft.Extensions.Hosting.HostBuilderContext.HostingEnvironment">
<summary>
The <see cref="T:Microsoft.Extensions.Hosting.IHostingEnvironment" /> initialized by the <see cref="T:Microsoft.Extensions.Hosting.IHost" />.
</summary>
</member>
<member name="P:Microsoft.Extensions.Hosting.HostBuilderContext.Configuration">
<summary>
The <see cref="T:Microsoft.Extensions.Configuration.IConfiguration" /> containing the merged configuration of the application and the <see cref="T:Microsoft.Extensions.Hosting.IHost" />.
</summary>
</member>
<member name="P:Microsoft.Extensions.Hosting.HostBuilderContext.Properties">
<summary>
A central location for sharing state between components during the host building process.
</summary>
</member>
<member name="T:Microsoft.Extensions.Hosting.HostDefaults">
<summary>
Constants for HostBuilder configuration keys.
</summary>
后面还有 279 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。