RouteBuilder 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
RouteBuilder(IApplicationBuilder) |
在给定的情况下 |
RouteBuilder(IApplicationBuilder, IRouter) |
在给定 和 |
RouteBuilder(IApplicationBuilder)
- Source:
- RouteBuilder.cs
- Source:
- RouteBuilder.cs
- Source:
- RouteBuilder.cs
在给定的情况下applicationBuilder
构造一个新RouteBuilder实例。
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)
- Source:
- RouteBuilder.cs
- Source:
- RouteBuilder.cs
- Source:
- RouteBuilder.cs
在给定 和 defaultHandler
的情况下applicationBuilder
构造一个新RouteBuilder实例。
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 实例。