MinLengthRouteConstraint Class
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.
Constrains a route parameter to be a string with a minimum length.
public ref class MinLengthRouteConstraint : Microsoft::AspNetCore::Routing::IRouteConstraint
C#
public class MinLengthRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint
C#
public class MinLengthRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy
type MinLengthRouteConstraint = class
interface IRouteConstraint
type MinLengthRouteConstraint = class
interface IRouteConstraint
interface IParameterPolicy
type MinLengthRouteConstraint = class
interface IParameterPolicy
interface IRouteConstraint
type MinLengthRouteConstraint = class
interface IRouteConstraint
interface IParameterPolicy
interface IParameterLiteralNodeMatchingPolicy
Public Class MinLengthRouteConstraint
Implements IRouteConstraint
Public Class MinLengthRouteConstraint
Implements IParameterLiteralNodeMatchingPolicy, IRouteConstraint
- Inheritance
-
MinLengthRouteConstraint
- Implements
Min |
Initializes a new instance of the MinLengthRouteConstraint class. |
Min |
Gets the minimum length allowed for the route parameter. |
Match(Http |
Determines whether the URL parameter contains a valid value for this constraint. |
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |