Udostępnij za pośrednictwem


RouteBuilder Konstruktory

Definicja

Przeciążenia

RouteBuilder(IApplicationBuilder)

Tworzy nowe RouteBuilder wystąpienie, biorąc pod uwagę element applicationBuilder.

RouteBuilder(IApplicationBuilder, IRouter)

Tworzy nowe RouteBuilder wystąpienie, biorąc pod uwagę jednostki applicationBuilder i defaultHandler.

RouteBuilder(IApplicationBuilder)

Źródło:
RouteBuilder.cs
Źródło:
RouteBuilder.cs
Źródło:
RouteBuilder.cs

Tworzy nowe RouteBuilder wystąpienie, biorąc pod uwagę element 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)

Parametry

applicationBuilder
IApplicationBuilder

Wystąpienie IApplicationBuilder .

Dotyczy

RouteBuilder(IApplicationBuilder, IRouter)

Źródło:
RouteBuilder.cs
Źródło:
RouteBuilder.cs
Źródło:
RouteBuilder.cs

Tworzy nowe RouteBuilder wystąpienie, biorąc pod uwagę jednostki applicationBuilder i 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)

Parametry

applicationBuilder
IApplicationBuilder

Wystąpienie IApplicationBuilder .

defaultHandler
IRouter

Wartość domyślna IRouter używana, jeśli nowa trasa jest dodawana bez procedury obsługi.

Dotyczy