Share via


CompositeRouteConstraint Class

Definition

Constrains a route by several child constraints.

public ref class CompositeRouteConstraint : Microsoft::AspNetCore::Routing::IRouteConstraint
public class CompositeRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint
public class CompositeRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy
type CompositeRouteConstraint = class
    interface IRouteConstraint
type CompositeRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
type CompositeRouteConstraint = class
    interface IParameterPolicy
    interface IRouteConstraint
type CompositeRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
    interface IParameterLiteralNodeMatchingPolicy
Public Class CompositeRouteConstraint
Implements IRouteConstraint
Public Class CompositeRouteConstraint
Implements IParameterLiteralNodeMatchingPolicy, IRouteConstraint
Inheritance
CompositeRouteConstraint
Implements

Constructors

CompositeRouteConstraint(IEnumerable<IRouteConstraint>)

Initializes a new instance of the CompositeRouteConstraint class.

Properties

Constraints

Gets the child constraints that must match for this constraint to match.

Methods

Match(HttpContext, IRouter, String, RouteValueDictionary, RouteDirection)

Determines whether the URL parameter contains a valid value for this constraint.

Explicit Interface Implementations

IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String)

Applies to