次の方法で共有


RouteBuilder コンストラクター

定義

オーバーロード

RouteBuilder(IApplicationBuilder)

を指定して新しい RouteBuilder インスタンスを applicationBuilder構築します。

RouteBuilder(IApplicationBuilder, IRouter)

defaultHandlerを指定して新しいRouteBuilderインスタンスをapplicationBuilder構築します。

RouteBuilder(IApplicationBuilder)

ソース:
RouteBuilder.cs
ソース:
RouteBuilder.cs
ソース:
RouteBuilder.cs

を指定して新しい RouteBuilder インスタンスを 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)

パラメーター

applicationBuilder
IApplicationBuilder

IApplicationBuilder のインスタンス。

適用対象

RouteBuilder(IApplicationBuilder, IRouter)

ソース:
RouteBuilder.cs
ソース:
RouteBuilder.cs
ソース:
RouteBuilder.cs

defaultHandlerを指定して新しいRouteBuilderインスタンスをapplicationBuilder構築します。

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)

パラメーター

applicationBuilder
IApplicationBuilder

IApplicationBuilder のインスタンス。

defaultHandler
IRouter

ハンドラーなしで新しいルートが追加された場合に使用される既定値 IRouter

適用対象