IRouteConstraintProvider Interface¶
Summary¶
An interface for metadata which provides [Microsoft.AspNet.Mvc.RouteDataActionConstraint]() values for a controller or action.
Properties¶
-
BlockNonAttributedActions
()¶ Set to true to negate this constraint on all actions that do not define a behavior for this route key.
Return type: System.Boolean bool BlockNonAttributedActions { get; }
-
RouteKey
()¶ The route value key.
Return type: System.String string RouteKey { get; }
-
RouteKeyHandling
()¶ The [Microsoft.AspNet.Mvc.IRouteConstraintProvider.RouteKeyHandling](Microsoft.AspNet.Mvc.IRouteConstraintProvider.yml).
Return type: Microsoft.AspNet.Mvc.RouteKeyHandling RouteKeyHandling RouteKeyHandling { get; }
-
RouteValue
()¶ The expected route value. Will be null unless [Microsoft.AspNet.Mvc.IRouteConstraintProvider.RouteKeyHandling](Microsoft.AspNet.Mvc.IRouteConstraintProvider.yml) is set to [Microsoft.AspNet.Mvc.RouteKeyHandling.RequireKey]().
Return type: System.String string RouteValue { get; }
-