RouteConstraintBuilder(IInlineConstraintResolver, String) Constructor

Definition

Creates a new instance of RouteConstraintBuilder instance.

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)

Parameters

displayName
String

The display name (for use in error messages).

Applies to