Partager via


KnownRouteValueConstraint Constructeurs

Définition

Surcharges

KnownRouteValueConstraint()
Obsolète.
KnownRouteValueConstraint(IActionDescriptorCollectionProvider)

Initialise une instance de KnownRouteValueConstraint.

KnownRouteValueConstraint()

Source:
KnownRouteValueConstraint.cs
Source:
KnownRouteValueConstraint.cs

Attention

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 ()
Attributs

S’applique à

KnownRouteValueConstraint(IActionDescriptorCollectionProvider)

Source:
KnownRouteValueConstraint.cs
Source:
KnownRouteValueConstraint.cs

Initialise une instance de 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)

Paramètres

actionDescriptorCollectionProvider
IActionDescriptorCollectionProvider

L’IActionDescriptorCollectionProvideropérateur

S’applique à