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 | |
---|---|---|
![]() |
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 | |
---|---|---|
![]() |
Excluded | Indicates whether the matching parameter name should be included or excluded in the value set in order to be a match. |
![]() |
Set | Gets the set of excluded or included values. |
Methods
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
Match(HttpRequestMessage, IHttpRoute, String, IDictionary<String, Object>, HttpRouteDirection) | |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
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