Поделиться через


KnownRouteValueConstraint Конструкторы

Определение

Перегрузки

KnownRouteValueConstraint()
Устаревшие..
KnownRouteValueConstraint(IActionDescriptorCollectionProvider)

Инициализирует экземпляр KnownRouteValueConstraint.

KnownRouteValueConstraint()

Исходный код:
KnownRouteValueConstraint.cs
Исходный код:
KnownRouteValueConstraint.cs

Внимание!

This constructor is obsolete. Use KnownRouteValueConstraint.ctor(IActionDescriptorCollectionProvider) instead.

public:
 KnownRouteValueConstraint();
public KnownRouteValueConstraint ();
[System.Obsolete("This constructor is obsolete. Use KnownRouteValueConstraint.ctor(IActionDescriptorCollectionProvider) instead.")]
public KnownRouteValueConstraint ();
Public Sub New ()
Атрибуты

Применяется к

KnownRouteValueConstraint(IActionDescriptorCollectionProvider)

Исходный код:
KnownRouteValueConstraint.cs
Исходный код:
KnownRouteValueConstraint.cs

Инициализирует экземпляр KnownRouteValueConstraint.

public:
 KnownRouteValueConstraint(Microsoft::AspNetCore::Mvc::Infrastructure::IActionDescriptorCollectionProvider ^ actionDescriptorCollectionProvider);
public KnownRouteValueConstraint (Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider actionDescriptorCollectionProvider);
new Microsoft.AspNetCore.Mvc.Routing.KnownRouteValueConstraint : Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider -> Microsoft.AspNetCore.Mvc.Routing.KnownRouteValueConstraint
Public Sub New (actionDescriptorCollectionProvider As IActionDescriptorCollectionProvider)

Параметры

Применяется к