RouteConstraintBuilder(IInlineConstraintResolver, String) Constructor
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 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
- inlineConstraintResolver
- IInlineConstraintResolver
- displayName
- String
The display name (for use in error messages).