RoutingEndpointConventionBuilderExtensions.WithOrder<TBuilder> Method
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.
Sets the Order to the provided order
for all
builders created by builder
.
public static TBuilder WithOrder<TBuilder> (this TBuilder builder, int order) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder;
static member WithOrder : 'Builder * int -> 'Builder (requires 'Builder :> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder)
<Extension()>
Public Function WithOrder(Of TBuilder As IEndpointConventionBuilder) (builder As TBuilder, order As Integer) As TBuilder
Type Parameters
- TBuilder
Parameters
- builder
- TBuilder
- order
- Int32
The order assigned to the endpoint.
Returns
TBuilder
The IEndpointConventionBuilder.