RouteBuilder Konstruktoren

Definition

Überlädt

RouteBuilder(IApplicationBuilder)

Erstellt eine neue RouteBuilder instance mit einem applicationBuilder.

RouteBuilder(IApplicationBuilder, IRouter)

Erstellt eine neue RouteBuilder instance mit einer applicationBuilder und defaultHandler.

RouteBuilder(IApplicationBuilder)

Quelle:
RouteBuilder.cs
Quelle:
RouteBuilder.cs
Quelle:
RouteBuilder.cs

Erstellt eine neue RouteBuilder instance mit einem 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)

Parameter

applicationBuilder
IApplicationBuilder

Eine IApplicationBuilder-Instanz.

Gilt für:

RouteBuilder(IApplicationBuilder, IRouter)

Quelle:
RouteBuilder.cs
Quelle:
RouteBuilder.cs
Quelle:
RouteBuilder.cs

Erstellt eine neue RouteBuilder instance mit einer applicationBuilder und 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)

Parameter

applicationBuilder
IApplicationBuilder

Eine IApplicationBuilder-Instanz.

defaultHandler
IRouter

Die Standardeinstellung IRouter , die verwendet wird, wenn eine neue Route ohne Handler hinzugefügt wird.

Gilt für: