Share via


SetRouteConstraint<TSet> Class

 

A route constraint that constrains a route parameter value to be either included or excluded from a set of values of type TSet.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Config
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Mobile.Service.Config.SetRouteConstraint<TSet>

Syntax

public class SetRouteConstraint<TSet> : IHttpRouteConstraint
generic<typename TSet>
public ref class SetRouteConstraint : IHttpRouteConstraint
type SetRouteConstraint<'TSet> = 
    class
        interface IHttpRouteConstraint
    end
Public Class SetRouteConstraint(Of TSet)
    Implements IHttpRouteConstraint

Type Parameters

  • TSet
    Type of set of values to include or exclude.

Constructors

Name Description
System_CAPS_pubmethod SetRouteConstraint<TSet>(HashSet<TSet>, Boolean)

Initializes a new instance of the SetRouteConstraint<TSet> class. Using the matchOnExcluded to indicate whether the constraint requires the parameter value to be included or excluded from the provided set of values.

Properties

Name Description
System_CAPS_pubproperty Excluded

Indicates whether the matching parameter name should be included or excluded in the value set in order to be a match.

System_CAPS_pubproperty Set

Gets the set of excluded or included values.

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_pubmethod Match(HttpRequestMessage, IHttpRoute, String, IDictionary<String, Object>, HttpRouteDirection)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

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

Microsoft.WindowsAzure.Mobile.Service.Config Namespace

Return to top