IInlineConstraintResolver Interface¶
Defines an abstraction for resolving inline constraints as instances of Microsoft.AspNetCore.Routing.IRouteConstraint
.
- Namespace
Microsoft.AspNetCore.Routing
- Assemblies
- Microsoft.AspNetCore.Routing
Syntax¶
public interface IInlineConstraintResolver
-
interface
Microsoft.AspNetCore.Routing.
IInlineConstraintResolver
Methods¶
-
ResolveConstraint
(System.String)¶ Resolves the inline constraint.
Arguments: inlineConstraint (System.String) – The inline constraint to resolve. Return type: Microsoft.AspNetCore.Routing.IRouteConstraint Returns: The Microsoft.AspNetCore.Routing.IRouteConstraint
the inline constraint was resolved to.IRouteConstraint ResolveConstraint(string inlineConstraint)
-