Class
RoutePattern
class RoutePattern
Module: System.Web.Http
Assembly: System.Web.dll
Source file: Routes.rvn
Inheritance: Object → RoutePattern
A reusable literal/single-segment parameter pattern, independent of dispatch.
Methods
8 items
Equals(other: object?) -> bool
Tests reference identity by default; an ordinary class may override equality.
Inherited from Object.Equals
GetHashCode() -> int
Returns a stable identity hash by default; an ordinary class may override it consistently with equality.
Inherited from Object.GetHashCode
GetParameterNames() -> Sequence<string>
Returns an independent snapshot of capture names in path order.
GetType() -> TypeInfo
Returns metadata for the concrete runtime type of this instance.
Inherited from Object.GetType
Match(target: string) -> Result<Optional<RouteMatch>, string>
Matches an origin-form request target, ignoring its query component.
Overlaps(other: RoutePattern) -> bool
Checks structural overlap, before target byte limits or typed conversion.
Static member:
Parse(pattern: string) -> Result<RoutePattern, string>
Parses an absolute path pattern with unique {name} parameters.
ToString() -> string
Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override.
Inherited from Object.ToString