Compartir a través de


RouteBuilder Constructores

Definición

Sobrecargas

RouteBuilder(IApplicationBuilder)

Construye una nueva RouteBuilder instancia dada una applicationBuilderclase .

RouteBuilder(IApplicationBuilder, IRouter)

Construye una nueva RouteBuilder instancia dada y applicationBuilderdefaultHandler.

RouteBuilder(IApplicationBuilder)

Source:
RouteBuilder.cs
Source:
RouteBuilder.cs
Source:
RouteBuilder.cs

Construye una nueva RouteBuilder instancia dada una applicationBuilderclase .

public:
 RouteBuilder(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ applicationBuilder);
public RouteBuilder (Microsoft.AspNetCore.Builder.IApplicationBuilder applicationBuilder);
new Microsoft.AspNetCore.Routing.RouteBuilder : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Routing.RouteBuilder
Public Sub New (applicationBuilder As IApplicationBuilder)

Parámetros

applicationBuilder
IApplicationBuilder

Instancia de IApplicationBuilder.

Se aplica a

RouteBuilder(IApplicationBuilder, IRouter)

Source:
RouteBuilder.cs
Source:
RouteBuilder.cs
Source:
RouteBuilder.cs

Construye una nueva RouteBuilder instancia dada y applicationBuilderdefaultHandler.

public:
 RouteBuilder(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ applicationBuilder, Microsoft::AspNetCore::Routing::IRouter ^ defaultHandler);
public RouteBuilder (Microsoft.AspNetCore.Builder.IApplicationBuilder applicationBuilder, Microsoft.AspNetCore.Routing.IRouter defaultHandler);
public RouteBuilder (Microsoft.AspNetCore.Builder.IApplicationBuilder applicationBuilder, Microsoft.AspNetCore.Routing.IRouter? defaultHandler);
new Microsoft.AspNetCore.Routing.RouteBuilder : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Routing.IRouter -> Microsoft.AspNetCore.Routing.RouteBuilder
Public Sub New (applicationBuilder As IApplicationBuilder, defaultHandler As IRouter)

Parámetros

applicationBuilder
IApplicationBuilder

Instancia de IApplicationBuilder.

defaultHandler
IRouter

Valor predeterminado IRouter que se usa si se agrega una nueva ruta sin un controlador.

Se aplica a