Bagikan melalui


RouteBuilder Konstruktor

Definisi

Overload

RouteBuilder(IApplicationBuilder)

Membuat instans baru RouteBuilder yang applicationBuilderdiberikan .

RouteBuilder(IApplicationBuilder, IRouter)

Membuat instans baru RouteBuilder yang applicationBuilder diberikan dan defaultHandler.

RouteBuilder(IApplicationBuilder)

Sumber:
RouteBuilder.cs
Sumber:
RouteBuilder.cs
Sumber:
RouteBuilder.cs

Membuat instans baru RouteBuilder yang applicationBuilderdiberikan .

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

Instans IApplicationBuilder .

Berlaku untuk

RouteBuilder(IApplicationBuilder, IRouter)

Sumber:
RouteBuilder.cs
Sumber:
RouteBuilder.cs
Sumber:
RouteBuilder.cs

Membuat instans baru RouteBuilder yang applicationBuilder diberikan dan 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

Instans IApplicationBuilder .

defaultHandler
IRouter

Default IRouter yang digunakan jika rute baru ditambahkan tanpa handler.

Berlaku untuk