DefaultInlineConstraintResolver Class

 

The default implementation of IInlineConstraintResolver. Resolves constraints by parsing a constraint key and constraint arguments, using a map to resolve the constraint type, and calling an appropriate constructor for the constraint type.

Namespace:   System.Web.Http.Routing
Assembly:  System.Web.Http (in System.Web.Http.dll)

Inheritance Hierarchy

System.Object
  System.Web.Http.Routing.DefaultInlineConstraintResolver

Syntax

public class DefaultInlineConstraintResolver : IInlineConstraintResolver
public ref class DefaultInlineConstraintResolver : IInlineConstraintResolver
type DefaultInlineConstraintResolver = 
    class
        interface IInlineConstraintResolver
    end
Public Class DefaultInlineConstraintResolver
    Implements IInlineConstraintResolver

Constructors

Name Description
System_CAPS_pubmethod DefaultInlineConstraintResolver()

Initializes a new instance of the DefaultInlineConstraintResolver class.

Properties

Name Description
System_CAPS_pubproperty ConstraintMap

Gets the mutable dictionary that maps constraint keys to a particular constraint type.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ResolveConstraint(String)

Resolves the inline constraint.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Http.Routing Namespace

Return to top