RouteBuilder Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
RouteBuilder(IApplicationBuilder) |
Construye una nueva RouteBuilder instancia dada una |
RouteBuilder(IApplicationBuilder, IRouter) |
Construye una nueva RouteBuilder instancia dada y |
RouteBuilder(IApplicationBuilder)
- Source:
- RouteBuilder.cs
- Source:
- RouteBuilder.cs
- Source:
- RouteBuilder.cs
Construye una nueva RouteBuilder instancia dada una applicationBuilder
clase .
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 applicationBuilder
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);
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.