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


RouteBase.Constraints Свойство

Определение

Возвращает набор ограничений, связанных с каждым маршрутом.

public:  virtual property System::Collections::Generic::IDictionary<System::String ^, Microsoft::AspNetCore::Routing::IRouteConstraint ^> ^ Constraints {  public:
System::Collections::Generic::IDictionary<System::String ^, Microsoft::AspNetCore::Routing::IRouteConstraint ^> ^ get(); protected:
 void set(System::Collections::Generic::IDictionary<System::String ^, Microsoft::AspNetCore::Routing::IRouteConstraint ^> ^ value); };
public virtual System.Collections.Generic.IDictionary<string,Microsoft.AspNetCore.Routing.IRouteConstraint> Constraints { get; protected set; }
member this.Constraints : System.Collections.Generic.IDictionary<string, Microsoft.AspNetCore.Routing.IRouteConstraint> with get, set
Public Overridable Property Constraints As IDictionary(Of String, IRouteConstraint)

Значение свойства

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