RoutePatternSeparatorPart Class
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.
Represents an optional separator part of a route pattern. Instances of RoutePatternSeparatorPart are immutable.
public ref class RoutePatternSeparatorPart sealed : Microsoft::AspNetCore::Routing::Patterns::RoutePatternPart
public sealed class RoutePatternSeparatorPart : Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart
type RoutePatternSeparatorPart = class
inherit RoutePatternPart
Public NotInheritable Class RoutePatternSeparatorPart
Inherits RoutePatternPart
- Inheritance
Remarks
An optional separator is a literal text delimiter that appears between two parameter parts in the last segment of a route pattern. The only separator that is recognized is .
.
An optional separator character does not need to present in the URL path of a request for the route pattern to match.
Properties
Content |
Gets the text content of the part. |
IsLiteral |
Returns |
IsParameter |
Returns |
IsSeparator |
Returns |
PartKind |
Gets the RoutePatternPartKind of this part. (Inherited from RoutePatternPart) |