Compartir a través de


IActionConstraintFactory.CreateInstance(IServiceProvider) Método

Definición

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

Parámetros

services
IServiceProvider

Los servicios por solicitud.

Devoluciones

Una clase IActionConstraint.

Se aplica a