InlineConstraint 建構函式

定義

多載

InlineConstraint(RoutePatternParameterPolicyReference)

指定 , RoutePatternParameterPolicyReference 建立新的 InlineConstraint 實例。

InlineConstraint(String)

建立 InlineConstraint 的新執行個體。

InlineConstraint(RoutePatternParameterPolicyReference)

來源:
InlineConstraint.cs
來源:
InlineConstraint.cs

指定 , RoutePatternParameterPolicyReference 建立新的 InlineConstraint 實例。

public:
 InlineConstraint(Microsoft::AspNetCore::Routing::Patterns::RoutePatternParameterPolicyReference ^ other);
public InlineConstraint (Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference other);
new Microsoft.AspNetCore.Routing.Template.InlineConstraint : Microsoft.AspNetCore.Routing.Patterns.RoutePatternParameterPolicyReference -> Microsoft.AspNetCore.Routing.Template.InlineConstraint
Public Sub New (other As RoutePatternParameterPolicyReference)

參數

適用於

InlineConstraint(String)

來源:
InlineConstraint.cs
來源:
InlineConstraint.cs
來源:
InlineConstraint.cs

建立 InlineConstraint 的新執行個體。

public:
 InlineConstraint(System::String ^ constraint);
public InlineConstraint (string constraint);
new Microsoft.AspNetCore.Routing.Template.InlineConstraint : string -> Microsoft.AspNetCore.Routing.Template.InlineConstraint
Public Sub New (constraint As String)

參數

constraint
String

條件約束文字。

適用於