RoutePatternFactory Class

Definition

Contains factory methods for creating RoutePattern and related types. Use Parse(String) to parse a route pattern in string format.

public ref class RoutePatternFactory abstract sealed
public static class RoutePatternFactory
type RoutePatternFactory = class
Public Class RoutePatternFactory
Inheritance
RoutePatternFactory

Methods

Combine(RoutePattern, RoutePattern)

Creates a RoutePattern that combines the specified patterns.

Constraint(IRouteConstraint)

Creates a RoutePatternParameterPolicyReference from the provided constraint.

Constraint(Object)

Creates a RoutePatternParameterPolicyReference from the provided contraint.

Constraint(String)

Creates a RoutePatternParameterPolicyReference from the provided constraint.

LiteralPart(String)

Creates a RoutePatternLiteralPart from the provided text content.

ParameterPart(String, Object, RoutePatternParameterKind, IEnumerable<RoutePatternParameterPolicyReference>)

Creates a RoutePatternParameterPart from the provided parameter name and default value, parameter kind, and parameter policies.

ParameterPart(String, Object, RoutePatternParameterKind, RoutePatternParameterPolicyReference[])

Creates a RoutePatternParameterPart from the provided parameter name and default value, parameter kind, and parameter policies.

ParameterPart(String, Object, RoutePatternParameterKind)

Creates a RoutePatternParameterPart from the provided parameter name and default value, and parameter kind.

ParameterPart(String, Object)

Creates a RoutePatternParameterPart from the provided parameter name and default value.

ParameterPart(String)

Creates a RoutePatternParameterPart from the provided parameter name.

ParameterPolicy(IParameterPolicy)

Creates a RoutePatternParameterPolicyReference from the provided object.

ParameterPolicy(String)

Creates a RoutePatternParameterPolicyReference from the provided object.

Parse(String, Object, Object, Object)

Creates a RoutePattern from its string representation along with provided default values and parameter policies.

Parse(String, Object, Object)

Creates a RoutePattern from its string representation along with provided default values and parameter policies.

Parse(String, RouteValueDictionary, RouteValueDictionary, RouteValueDictionary)

Creates a RoutePattern from its string representation along with provided default values and parameter policies.

Parse(String, RouteValueDictionary, RouteValueDictionary)

Creates a RoutePattern from its string representation along with provided default values and parameter policies.

Parse(String)

Creates a RoutePattern from its string representation.

Pattern(IEnumerable<RoutePatternPathSegment>)

Creates a new instance of RoutePattern from a collection of segments.

Pattern(Object, Object, IEnumerable<RoutePatternPathSegment>)

Creates a RoutePattern from a collection of segments along with provided default values and parameter policies.

Pattern(Object, Object, RoutePatternPathSegment[])

Creates a RoutePattern from a collection of segments along with provided default values and parameter policies.

Pattern(RoutePatternPathSegment[])

Creates a new instance of RoutePattern from a collection of segments.

Pattern(RouteValueDictionary, RouteValueDictionary, IEnumerable<RoutePatternPathSegment>)

Creates a RoutePattern from a collection of segments along with provided default values and parameter policies.

Pattern(RouteValueDictionary, RouteValueDictionary, RoutePatternPathSegment[])

Creates a RoutePattern from a collection of segments along with provided default values and parameter policies.

Pattern(String, IEnumerable<RoutePatternPathSegment>)

Creates a new instance of RoutePattern from a collection of segments.

Pattern(String, Object, Object, IEnumerable<RoutePatternPathSegment>)

Creates a RoutePattern from a collection of segments along with provided default values and parameter policies.

Pattern(String, Object, Object, RoutePatternPathSegment[])

Creates a RoutePattern from a collection of segments along with provided default values and parameter policies.

Pattern(String, RoutePatternPathSegment[])

Creates a new instance of RoutePattern from a collection of segments.

Pattern(String, RouteValueDictionary, RouteValueDictionary, IEnumerable<RoutePatternPathSegment>)

Creates a RoutePattern from a collection of segments along with provided default values and parameter policies.

Pattern(String, RouteValueDictionary, RouteValueDictionary, RoutePatternPathSegment[])

Creates a RoutePattern from a collection of segments along with provided default values and parameter policies.

Segment(IEnumerable<RoutePatternPart>)

Creates a RoutePatternPathSegment from the provided collection of parts.

Segment(RoutePatternPart[])

Creates a RoutePatternPathSegment from the provided collection of parts.

SeparatorPart(String)

Creates a RoutePatternSeparatorPart from the provided text content.

Applies to