Udostępnij za pośrednictwem


IActionConstraintFactory.CreateInstance(IServiceProvider) Metoda

Definicja

Tworzy nowy adres 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

Parametry

services
IServiceProvider

Usługi na żądanie.

Zwraca

Element IActionConstraint.

Dotyczy