Partilhar via


ActionSelectorCandidate Construtor

Definição

Cria um novo ActionSelectorCandidate.

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

Parâmetros

action
ActionDescriptor

O ActionDescriptor que representa um candidato para seleção.

constraints
IReadOnlyList<IActionConstraint>

A lista de IActionConstraint instâncias associadas actiona .

Aplica-se a