Share via


IActionConstraint.Accept(ActionConstraintContext) Methode

Definition

Bestimmt, ob eine Aktion ein gültiger Kandidat für die Auswahl ist.

public:
 bool Accept(Microsoft::AspNetCore::Mvc::ActionConstraints::ActionConstraintContext ^ context);
public bool Accept (Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext context);
abstract member Accept : Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext -> bool
Public Function Accept (context As ActionConstraintContext) As Boolean

Parameter

Gibt zurück

True, wenn die Aktion für die Auswahl gültig ist, andernfalls false.

Gilt für: