RouteBuilder Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
RouteBuilder(IApplicationBuilder) |
Construit un nouveau RouteBuilder instance donné un |
RouteBuilder(IApplicationBuilder, IRouter) |
Construit un nouveau RouteBuilder instance donné un |
RouteBuilder(IApplicationBuilder)
- Source:
- RouteBuilder.cs
- Source:
- RouteBuilder.cs
- Source:
- RouteBuilder.cs
Construit un nouveau RouteBuilder instance donné un applicationBuilder
.
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)
Paramètres
- applicationBuilder
- IApplicationBuilder
Instance de IApplicationBuilder.
S’applique à
RouteBuilder(IApplicationBuilder, IRouter)
- Source:
- RouteBuilder.cs
- Source:
- RouteBuilder.cs
- Source:
- RouteBuilder.cs
Construit un nouveau RouteBuilder instance donné un applicationBuilder
et 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)
Paramètres
- applicationBuilder
- IApplicationBuilder
Instance de IApplicationBuilder.
- defaultHandler
- IRouter
Valeur par défaut IRouter utilisée si une nouvelle route est ajoutée sans gestionnaire.