InlineConstraint 构造函数

定义

重载

InlineConstraint(RoutePatternParameterPolicyReference)

在给定的情况下创建一RoutePatternParameterPolicyReference个新InlineConstraint实例。

InlineConstraint(String)

创建 InlineConstraint 的新实例。

InlineConstraint(RoutePatternParameterPolicyReference)

Source:
InlineConstraint.cs
Source:
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)

Source:
InlineConstraint.cs
Source:
InlineConstraint.cs
Source:
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

约束文本。

适用于