Compartilhar via


IActionConstraintFactory.CreateInstance(IServiceProvider) Método

Definição

Cria um novo 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

Os serviços por solicitação.

Retornos

Um IActionConstraint.

Aplica-se a