packages/Microsoft.AspNetCore.Hosting.Abstractions.2.0.1/lib/netstandard2.0/Microsoft.AspNetCore.Hosting.Abstractions.xml
(开头部分) 21KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.AspNetCore.Hosting.Abstractions</name>
</assembly>
<members>
<member name="T:Microsoft.AspNetCore.Hosting.EnvironmentName">
<summary>
Commonly used environment names.
</summary>
</member>
<member name="M:Microsoft.AspNetCore.Hosting.HostingAbstractionsWebHostBuilderExtensions.UseConfiguration(Microsoft.AspNetCore.Hosting.IWebHostBuilder,Microsoft.Extensions.Configuration.IConfiguration)">
<summary>
Use the given configuration settings on the web host.
</summary>
<param name="hostBuilder">The <see cref="T:Microsoft.AspNetCore.Hosting.IWebHostBuilder"/> to configure.</param>
<param name="configuration">The <see cref="T:Microsoft.Extensions.Configuration.IConfiguration"/> containing settings to be used.</param>
<returns>The <see cref="T:Microsoft.AspNetCore.Hosting.IWebHostBuilder"/>.</returns>
</member>
<member name="M:Microsoft.AspNetCore.Hosting.HostingAbstractionsWebHostBuilderExtensions.CaptureStartupErrors(Microsoft.AspNetCore.Hosting.IWebHostBuilder,System.Boolean)">
<summary>
Set whether startup errors should be captured in the configuration settings of the web host.
When enabled, startup exceptions will be caught and an error page will be returned. If disabled, startup exceptions will be propagated.
</summary>
<param name="hostBuilder">The <see cref="T:Microsoft.AspNetCore.Hosting.IWebHostBuilder"/> to configure.</param>
<param name="captureStartupErrors"><c>true</c> to use startup error page; otherwise <c>false</c>.</param>
<returns>The <see cref="T:Microsoft.AspNetCore.Hosting.IWebHostBuilder"/>.</returns>
</member>
<member name="M:Microsoft.AspNetCore.Hosting.HostingAbstractionsWebHostBuilderExtensions.UseStartup(Microsoft.AspNetCore.Hosting.IWebHostBuilder,System.String)">
<summary>
Specify the assembly containing the startup type to be used by the web host.
</summary>
<param name="hostBuilder">The <see cref="T:Microsoft.AspNetCore.Hosting.IWebHostBuilder"/> to configure.</param>
<param name="startupAssemblyName">The name of the assembly containing the startup type.</param>
<returns>The <see cref="T:Microsoft.AspNetCore.Hosting.IWebHostBuilder"/>.</returns>
</member>
<member name="M:Microsoft.AspNetCore.Hosting.HostingAbstractionsWebHostBuilderExtensions.UseServer(Microsoft.AspNetCore.Hosting.IWebHostBuilder,Microsoft.AspNetCore.Hosting.Server.IServer)">
<summary>
Specify the server to be used by the web host.
</summary>
<param name="hostBuilder">The <see cref="T:Microsoft.AspNetCore.Hosting.IWebHostBuilder"/> to configure.</param>
<param name="server">The <see cref="T:Microsoft.AspNetCore.Hosting.Server.IServer"/> to be used.</param>
<returns>The <see cref="T:Microsoft.AspNetCore.Hosting.IWebHostBuilder"/>.</returns>
</member>
<member name="M:Microsoft.AspNetCore.Hosting.HostingAbstractionsWebHostBuilderExtensions.UseEnvironment(Microsoft.AspNetCore.Hosting.IWebHostBuilder,System.String)">
<summary>
Specify the environment to be used by the web host.
</summary>
<param name="hostBuilder">The <see cref="T:Microsoft.AspNetCore.Hosting.IWebHostBuilder"/> to configure.</param>
<param name="environment">The environment to host the application in.</param>
<returns>The <see cref="T:Microsoft.AspNetCore.Hosting.IWebHostBuilder"/>.</returns>
</member>
<member name="M:Microsoft.AspNetCore.Hosting.HostingAbstractionsWebHostBuilderExtensions.UseContentRoot(Microsoft.AspNetCore.Hosting.IWebHostBuilder,System.String)">
<summary>
Specify the content root directory to be used by the web host.
</summary>
<param name="hostBuilder">The <see cref="T:Microsoft.AspNetCore.Hosting.IWebHostBuilder"/> to configure.</param>
<param name="contentRoot">Path to root directory of the application.</param>
<returns>The <see cref="T:Microsoft.AspNetCore.Hosting.IWebHostBuilder"/>.</returns>
</member>
后面还有 273 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
