RouteBuilderBase<TBuilder>.AsNonTerminal Method

Definition

Marks the current route as non-terminal and returns the updated builder instance.

public TBuilder AsNonTerminal();
member this.AsNonTerminal : unit -> 'Builder
Public Function AsNonTerminal () As TBuilder

Returns

TBuilder

The current RouteBuilder instance with the non-terminal flag set.

Remarks

A non-terminal route allows further route matching beyond this point. Use this method when the route should not be considered a final endpoint.

Applies to