-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
Host.xml
222 lines (222 loc) · 22 KB
/
Host.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<Type Name="Host" FullName="Microsoft.Extensions.Hosting.Host">
<TypeSignature Language="C#" Value="public static class Host" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit Host extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.Extensions.Hosting.Host" />
<TypeSignature Language="VB.NET" Value="Public Class Host" />
<TypeSignature Language="F#" Value="type Host = class" />
<TypeSignature Language="C++ CLI" Value="public ref class Host abstract sealed" />
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Hosting</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Provides convenience methods for creating instances of <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" /> with preconfigured defaults.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="CreateApplicationBuilder">
<MemberSignature Language="C#" Value="public static Microsoft.Extensions.Hosting.HostApplicationBuilder CreateApplicationBuilder ();" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Extensions.Hosting.HostApplicationBuilder CreateApplicationBuilder() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CreateApplicationBuilder () As HostApplicationBuilder" />
<MemberSignature Language="F#" Value="static member CreateApplicationBuilder : unit -> Microsoft.Extensions.Hosting.HostApplicationBuilder" Usage="Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder " />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Extensions::Hosting::HostApplicationBuilder ^ CreateApplicationBuilder();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Hosting</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.Hosting.HostApplicationBuilder</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder" /> class with preconfigured defaults.</summary>
<returns>A new <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder" /> instance.</returns>
<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 arguments.</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 arguments.</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>Enable scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName" /> is 'Development'.</description></item></list></remarks>
</Docs>
</Member>
<Member MemberName="CreateApplicationBuilder">
<MemberSignature Language="C#" Value="public static Microsoft.Extensions.Hosting.HostApplicationBuilder CreateApplicationBuilder (Microsoft.Extensions.Hosting.HostApplicationBuilderSettings? settings);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Extensions.Hosting.HostApplicationBuilder CreateApplicationBuilder(class Microsoft.Extensions.Hosting.HostApplicationBuilderSettings settings) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder(Microsoft.Extensions.Hosting.HostApplicationBuilderSettings)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CreateApplicationBuilder (settings As HostApplicationBuilderSettings) As HostApplicationBuilder" />
<MemberSignature Language="F#" Value="static member CreateApplicationBuilder : Microsoft.Extensions.Hosting.HostApplicationBuilderSettings -> Microsoft.Extensions.Hosting.HostApplicationBuilder" Usage="Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder settings" />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Extensions::Hosting::HostApplicationBuilder ^ CreateApplicationBuilder(Microsoft::Extensions::Hosting::HostApplicationBuilderSettings ^ settings);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Hosting</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.Hosting.HostApplicationBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="settings" Type="Microsoft.Extensions.Hosting.HostApplicationBuilderSettings">
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="settings">Controls the initial configuration and other settings for constructing the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder" />.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<inheritdoc cref="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder" />
</Docs>
</Member>
<Member MemberName="CreateApplicationBuilder">
<MemberSignature Language="C#" Value="public static Microsoft.Extensions.Hosting.HostApplicationBuilder CreateApplicationBuilder (string[]? args);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Extensions.Hosting.HostApplicationBuilder CreateApplicationBuilder(string[] args) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder(System.String[])" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CreateApplicationBuilder (args As String()) As HostApplicationBuilder" />
<MemberSignature Language="F#" Value="static member CreateApplicationBuilder : string[] -> Microsoft.Extensions.Hosting.HostApplicationBuilder" Usage="Microsoft.Extensions.Hosting.Host.CreateApplicationBuilder args" />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Extensions::Hosting::HostApplicationBuilder ^ CreateApplicationBuilder(cli::array <System::String ^> ^ args);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Hosting</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.Hosting.HostApplicationBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="args" Type="System.String[]">
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="args">The command line arguments.</param>
<summary>Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder" /> class with preconfigured defaults.</summary>
<returns>A new <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder" /> instance.</returns>
<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 arguments.</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 arguments.</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>Enable scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName" /> is 'Development'.</description></item></list></remarks>
</Docs>
</Member>
<Member MemberName="CreateDefaultBuilder">
<MemberSignature Language="C#" Value="public static Microsoft.Extensions.Hosting.IHostBuilder CreateDefaultBuilder ();" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Extensions.Hosting.IHostBuilder CreateDefaultBuilder() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CreateDefaultBuilder () As IHostBuilder" />
<MemberSignature Language="F#" Value="static member CreateDefaultBuilder : unit -> Microsoft.Extensions.Hosting.IHostBuilder" Usage="Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder " />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Extensions::Hosting::IHostBuilder ^ CreateDefaultBuilder();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Hosting</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.Hosting.IHostBuilder</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostBuilder" /> class with preconfigured defaults.</summary>
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" />.</returns>
<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>Enable scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName" /> is 'Development'.</description></item></list></remarks>
</Docs>
</Member>
<Member MemberName="CreateDefaultBuilder">
<MemberSignature Language="C#" Value="public static Microsoft.Extensions.Hosting.IHostBuilder CreateDefaultBuilder (string[]? args);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Extensions.Hosting.IHostBuilder CreateDefaultBuilder(string[] args) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder(System.String[])" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CreateDefaultBuilder (args As String()) As IHostBuilder" />
<MemberSignature Language="F#" Value="static member CreateDefaultBuilder : string[] -> Microsoft.Extensions.Hosting.IHostBuilder" Usage="Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder args" />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Extensions::Hosting::IHostBuilder ^ CreateDefaultBuilder(cli::array <System::String ^> ^ args);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Hosting</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.Hosting.IHostBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="args" Type="System.String[]">
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="args">The command line arguments.</param>
<summary>Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostBuilder" /> class with preconfigured defaults.</summary>
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.IHostBuilder" />.</returns>
<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 arguments.</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 arguments.</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>Enable scope validation on the dependency injection container when <see cref="P:Microsoft.Extensions.Hosting.IHostEnvironment.EnvironmentName" /> is 'Development'.</description></item></list></remarks>
</Docs>
</Member>
<Member MemberName="CreateEmptyApplicationBuilder">
<MemberSignature Language="C#" Value="public static Microsoft.Extensions.Hosting.HostApplicationBuilder CreateEmptyApplicationBuilder (Microsoft.Extensions.Hosting.HostApplicationBuilderSettings? settings);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Extensions.Hosting.HostApplicationBuilder CreateEmptyApplicationBuilder(class Microsoft.Extensions.Hosting.HostApplicationBuilderSettings settings) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Extensions.Hosting.Host.CreateEmptyApplicationBuilder(Microsoft.Extensions.Hosting.HostApplicationBuilderSettings)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CreateEmptyApplicationBuilder (settings As HostApplicationBuilderSettings) As HostApplicationBuilder" />
<MemberSignature Language="F#" Value="static member CreateEmptyApplicationBuilder : Microsoft.Extensions.Hosting.HostApplicationBuilderSettings -> Microsoft.Extensions.Hosting.HostApplicationBuilder" Usage="Microsoft.Extensions.Hosting.Host.CreateEmptyApplicationBuilder settings" />
<MemberSignature Language="C++ CLI" Value="public:
 static Microsoft::Extensions::Hosting::HostApplicationBuilder ^ CreateEmptyApplicationBuilder(Microsoft::Extensions::Hosting::HostApplicationBuilderSettings ^ settings);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Extensions.Hosting</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Extensions.Hosting.HostApplicationBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="settings" Type="Microsoft.Extensions.Hosting.HostApplicationBuilderSettings">
<Attributes>
<Attribute FrameworkAlternate="net-8.0;net-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="settings">Controls the initial configuration and other settings for constructing the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder" />.</param>
<summary>Initializes a new instance of the <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder" /> class with no pre-configured defaults.</summary>
<returns>The initialized <see cref="T:Microsoft.Extensions.Hosting.HostApplicationBuilder" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>