RouteConstraintBuilder(IInlineConstraintResolver, String) Конструктор

Определение

Создает новый экземпляр RouteConstraintBuilder экземпляра.

public:
 RouteConstraintBuilder(Microsoft::AspNetCore::Routing::IInlineConstraintResolver ^ inlineConstraintResolver, System::String ^ displayName);
public RouteConstraintBuilder (Microsoft.AspNetCore.Routing.IInlineConstraintResolver inlineConstraintResolver, string displayName);
new Microsoft.AspNetCore.Routing.RouteConstraintBuilder : Microsoft.AspNetCore.Routing.IInlineConstraintResolver * string -> Microsoft.AspNetCore.Routing.RouteConstraintBuilder
Public Sub New (inlineConstraintResolver As IInlineConstraintResolver, displayName As String)

Параметры

displayName
String

Отображаемое имя (для использования в сообщениях об ошибках).

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