ActionSelectorCandidate Costruttore
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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
.