ConfigureWebHostBuilder.ISupportsStartup.Configure Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
ISupportsStartup.Configure(Action<IApplicationBuilder>) | |
ISupportsStartup.Configure(Action<WebHostBuilderContext,IApplicationBuilder>) |
ISupportsStartup.Configure(Action<IApplicationBuilder>)
- Исходный код:
- ConfigureWebHostBuilder.cs
Microsoft.AspNetCore.Hosting.IWebHostBuilder ISupportsStartup.Configure (Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configure);
abstract member Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.Configure : Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
override this.Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.Configure : Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Function Configure (configure As Action(Of IApplicationBuilder)) As IWebHostBuilder Implements ISupportsStartup.Configure
Параметры
- configure
- Action<IApplicationBuilder>
Возвращаемое значение
Реализации
Применяется к
ISupportsStartup.Configure(Action<WebHostBuilderContext,IApplicationBuilder>)
- Исходный код:
- ConfigureWebHostBuilder.cs
Microsoft.AspNetCore.Hosting.IWebHostBuilder ISupportsStartup.Configure (Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext,Microsoft.AspNetCore.Builder.IApplicationBuilder> configure);
abstract member Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.Configure : Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
override this.Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.Configure : Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Function Configure (configure As Action(Of WebHostBuilderContext, IApplicationBuilder)) As IWebHostBuilder Implements ISupportsStartup.Configure
Параметры
- configure
- Action<WebHostBuilderContext,IApplicationBuilder>