Condividi tramite


ActionSelectorCandidate Costruttore

Definizione

Crea un nuovo oggetto 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))

Parametri

action
ActionDescriptor

Oggetto ActionDescriptor che rappresenta un candidato per la selezione.

constraints
IReadOnlyList<IActionConstraint>

Elenco di IActionConstraint istanze associate a action.

Si applica a