Share via


KnownRouteValueConstraint Constructors

Definition

Overloads

KnownRouteValueConstraint()
Obsolete.
KnownRouteValueConstraint(IActionDescriptorCollectionProvider)

Initializes an instance of KnownRouteValueConstraint.

KnownRouteValueConstraint()

Source:
KnownRouteValueConstraint.cs
Source:
KnownRouteValueConstraint.cs

Caution

This constructor is obsolete. Use KnownRouteValueConstraint.ctor(IActionDescriptorCollectionProvider) instead.

public:
 KnownRouteValueConstraint();
public KnownRouteValueConstraint ();
[System.Obsolete("This constructor is obsolete. Use KnownRouteValueConstraint.ctor(IActionDescriptorCollectionProvider) instead.")]
public KnownRouteValueConstraint ();
Public Sub New ()
Attributes

Applies to

KnownRouteValueConstraint(IActionDescriptorCollectionProvider)

Source:
KnownRouteValueConstraint.cs
Source:
KnownRouteValueConstraint.cs

Initializes an instance of KnownRouteValueConstraint.

public:
 KnownRouteValueConstraint(Microsoft::AspNetCore::Mvc::Infrastructure::IActionDescriptorCollectionProvider ^ actionDescriptorCollectionProvider);
public KnownRouteValueConstraint (Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider actionDescriptorCollectionProvider);
new Microsoft.AspNetCore.Mvc.Routing.KnownRouteValueConstraint : Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider -> Microsoft.AspNetCore.Mvc.Routing.KnownRouteValueConstraint
Public Sub New (actionDescriptorCollectionProvider As IActionDescriptorCollectionProvider)

Parameters

Applies to