RouteBuilder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RouteBuilder(IApplicationBuilder) |
Constructs a new RouteBuilder instance given an |
RouteBuilder(IApplicationBuilder, IRouter) |
Constructs a new RouteBuilder instance given an |
RouteBuilder(IApplicationBuilder)
- Source:
- RouteBuilder.cs
- Source:
- RouteBuilder.cs
- Source:
- RouteBuilder.cs
Constructs a new RouteBuilder instance given an 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)
Parameters
- applicationBuilder
- IApplicationBuilder
An IApplicationBuilder instance.
Applies to
RouteBuilder(IApplicationBuilder, IRouter)
- Source:
- RouteBuilder.cs
- Source:
- RouteBuilder.cs
- Source:
- RouteBuilder.cs
Constructs a new RouteBuilder instance given an applicationBuilder
and 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)
Parameters
- applicationBuilder
- IApplicationBuilder
An IApplicationBuilder instance.