Partilhar via


ISupportsStartup.Configure Método

Definição

Sobrecargas

Configure(Action<IApplicationBuilder>)

Especifique o método de inicialização a ser usado para configurar o aplicativo Web.

Configure(Action<WebHostBuilderContext,IApplicationBuilder>)

Especifique o método de inicialização a ser usado para configurar o aplicativo Web.

Configure(Action<IApplicationBuilder>)

Origem:
ISupportsStartup.cs

Especifique o método de inicialização a ser usado para configurar o aplicativo Web.

public Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure (Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configure);
abstract member Configure : Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Public Function Configure (configure As Action(Of IApplicationBuilder)) As IWebHostBuilder

Parâmetros

configure
Action<IApplicationBuilder>

O delegado que configura o IApplicationBuilder.

Retornos

O IWebHostBuilder.

Aplica-se a

Configure(Action<WebHostBuilderContext,IApplicationBuilder>)

Origem:
ISupportsStartup.cs

Especifique o método de inicialização a ser usado para configurar o aplicativo Web.

public Microsoft.AspNetCore.Hosting.IWebHostBuilder Configure (Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext,Microsoft.AspNetCore.Builder.IApplicationBuilder> configure);
abstract member Configure : Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Public Function Configure (configure As Action(Of WebHostBuilderContext, IApplicationBuilder)) As IWebHostBuilder

Parâmetros

configure
Action<WebHostBuilderContext,IApplicationBuilder>

O delegado que configura o IApplicationBuilder.

Retornos

O IWebHostBuilder.

Aplica-se a