Partager via


RouteBuilder Constructeurs

Définition

Surcharges

RouteBuilder(IApplicationBuilder)

Construit un nouveau RouteBuilder instance donné un applicationBuilder.

RouteBuilder(IApplicationBuilder, IRouter)

Construit un nouveau RouteBuilder instance donné un applicationBuilder et defaultHandler.

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.

S’applique à