RouteConstraintBuilder(IInlineConstraintResolver, String) Costruttore

Definizione

Crea una nuova istanza di RouteConstraintBuilder istanza.

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)

Parametri

inlineConstraintResolver
IInlineConstraintResolver

Oggetto IInlineConstraintResolver.

displayName
String

Nome visualizzato (da usare nei messaggi di errore).

Si applica a