RouteBuilderBase<TBuilder>.WithOrderRank(UInt16) Method

Definition

Sets the order rank for the route and returns the current builder instance for further configuration.

public TBuilder WithOrderRank(ushort rank);
member this.WithOrderRank : uint16 -> 'Builder
Public Function WithOrderRank (rank As UShort) As TBuilder

Parameters

rank
UInt16

The rank value to assign to the route. Must be a non-negative number representing the route's priority in ordering.

Returns

TBuilder

The current RouteBuilder instance with the updated order rank.

Remarks

Use this method to specify the relative priority of the route when multiple routes are evaluated. Lower rank values typically indicate higher priority.

Applies to