Condividi tramite


RouteBuilder Costruttori

Definizione

Overload

RouteBuilder(IApplicationBuilder)

Costruisce una nuova RouteBuilder istanza in base a un oggetto applicationBuilder.

RouteBuilder(IApplicationBuilder, IRouter)

Costruisce una nuova RouteBuilder istanza in base a e applicationBuilderdefaultHandler.

RouteBuilder(IApplicationBuilder)

Origine:
RouteBuilder.cs
Origine:
RouteBuilder.cs
Origine:
RouteBuilder.cs

Costruisce una nuova RouteBuilder istanza in base a un oggetto 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)

Parametri

applicationBuilder
IApplicationBuilder

Istanza di IApplicationBuilder.

Si applica a

RouteBuilder(IApplicationBuilder, IRouter)

Origine:
RouteBuilder.cs
Origine:
RouteBuilder.cs
Origine:
RouteBuilder.cs

Costruisce una nuova RouteBuilder istanza in base a e 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)

Parametri

applicationBuilder
IApplicationBuilder

Istanza di IApplicationBuilder.

defaultHandler
IRouter

Valore predefinito IRouter utilizzato se viene aggiunta una nuova route senza un gestore.

Si applica a