Partager via


ActionSelectorCandidate Constructeur

Définition

public:
 ActionSelectorCandidate(Microsoft::AspNetCore::Mvc::Abstractions::ActionDescriptor ^ action, System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Mvc::ActionConstraints::IActionConstraint ^> ^ constraints);
public ActionSelectorCandidate (Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor action, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint> constraints);
public ActionSelectorCandidate (Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor action, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint>? constraints);
new Microsoft.AspNetCore.Mvc.ActionConstraints.ActionSelectorCandidate : Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor * System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint> -> Microsoft.AspNetCore.Mvc.ActionConstraints.ActionSelectorCandidate
Public Sub New (action As ActionDescriptor, constraints As IReadOnlyList(Of IActionConstraint))

Paramètres

action
ActionDescriptor

ActionDescriptor représentant un candidat à la sélection.

constraints
IReadOnlyList<IActionConstraint>

Liste des IActionConstraint instances associées actionà .

S’applique à