Partager via


IActionConstraintFactory.CreateInstance(IServiceProvider) Méthode

Définition

Crée un IActionConstraint.

public:
 Microsoft::AspNetCore::Mvc::ActionConstraints::IActionConstraint ^ CreateInstance(IServiceProvider ^ services);
public Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint CreateInstance (IServiceProvider services);
abstract member CreateInstance : IServiceProvider -> Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint
Public Function CreateInstance (services As IServiceProvider) As IActionConstraint

Paramètres

services
IServiceProvider

Services par demande.

Retours

Élément IActionConstraint.

S’applique à