IActionConstraintFactory.CreateInstance(IServiceProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.