KnownRouteValueConstraint Constructors
Definition
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.
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
- actionDescriptorCollectionProvider
- IActionDescriptorCollectionProvider