Compartir a través de


ActionSelectorCandidate Constructor

Definición

Crea un nuevo 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

que ActionDescriptor representa un candidato para la selección.

constraints
IReadOnlyList<IActionConstraint>

Lista de IActionConstraint instancias asociadas a action.

Se aplica a