Dela via


DefaultInlineConstraintResolver Class

Definition

The default implementation of IInlineConstraintResolver. Resolves constraints by parsing a constraint key and constraint arguments, using a map to resolve the constraint type, and calling an appropriate constructor for the constraint type.

public ref class DefaultInlineConstraintResolver : Microsoft::AspNetCore::Routing::IInlineConstraintResolver
public class DefaultInlineConstraintResolver : Microsoft.AspNetCore.Routing.IInlineConstraintResolver
type DefaultInlineConstraintResolver = class
    interface IInlineConstraintResolver
Public Class DefaultInlineConstraintResolver
Implements IInlineConstraintResolver
Inheritance
DefaultInlineConstraintResolver
Implements

Constructors

DefaultInlineConstraintResolver(IOptions<RouteOptions>, IServiceProvider)

Initializes a new instance of the DefaultInlineConstraintResolver class.

DefaultInlineConstraintResolver(IOptions<RouteOptions>)
Obsolete.

Initializes a new instance of the DefaultInlineConstraintResolver class.

Methods

ResolveConstraint(String)

Resolves the inline constraint.

Applies to