Share via


IActionConstraintFactory.CreateInstance(IServiceProvider) Method

Definition

Creates a new 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

Parameters

services
IServiceProvider

The per-request services.

Returns

An IActionConstraint.

Applies to