SetRouteConstraint<TSet> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A route constraint that constrains a route parameter value to be either included or excluded
from a set of values of type TSet
.
public class SetRouteConstraint<TSet> : System.Web.Http.Routing.IHttpRouteConstraint
type SetRouteConstraint<'Set> = class
interface IHttpRouteConstraint
Public Class SetRouteConstraint(Of TSet)
Implements IHttpRouteConstraint
Type Parameters
- TSet
Type of set of values to include or exclude.
- Inheritance
-
SetRouteConstraint<TSet>
- Implements
-
System.Web.Http.Routing.IHttpRouteConstraint
Constructors
SetRouteConstraint<TSet>(HashSet<TSet>, Boolean) |
Initializes a new instance of the SetRouteConstraint<TSet> class. Using
the |
Properties
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
Match(HttpRequestMessage, IHttpRoute, String, IDictionary<String,Object>, HttpRouteDirection) | System.Web.Http.Routing.IHttpRouteConstraint.Match(System.Net.Http.HttpRequestMessage,System.Web.Http.Routing.IHttpRoute,System.String,System.Collections.Generic.IDictionary{System.String,System.Object},System.Web.Http.Routing.HttpRouteDirection) |
Applies to
Azure SDK for .NET