RoutePatternFactory.Combine(RoutePattern, RoutePattern) Method

Definition

Creates a RoutePattern that combines the specified patterns.

public static Microsoft.AspNetCore.Routing.Patterns.RoutePattern Combine (Microsoft.AspNetCore.Routing.Patterns.RoutePattern? left, Microsoft.AspNetCore.Routing.Patterns.RoutePattern right);
static member Combine : Microsoft.AspNetCore.Routing.Patterns.RoutePattern * Microsoft.AspNetCore.Routing.Patterns.RoutePattern -> Microsoft.AspNetCore.Routing.Patterns.RoutePattern
Public Shared Function Combine (left As RoutePattern, right As RoutePattern) As RoutePattern

Parameters

left
RoutePattern

A string representing the first part of the route.

right
RoutePattern

A stirng representing the second part of the route.

Returns

The combined RoutePattern.

Exceptions

Applies to