IInlineConstraintResolver.ResolveConstraint(String) 方法

定义

解析内联约束。

public:
 Microsoft::AspNetCore::Routing::IRouteConstraint ^ ResolveConstraint(System::String ^ inlineConstraint);
public Microsoft.AspNetCore.Routing.IRouteConstraint ResolveConstraint (string inlineConstraint);
public Microsoft.AspNetCore.Routing.IRouteConstraint? ResolveConstraint (string inlineConstraint);
abstract member ResolveConstraint : string -> Microsoft.AspNetCore.Routing.IRouteConstraint
Public Function ResolveConstraint (inlineConstraint As String) As IRouteConstraint

参数

inlineConstraint
String

要解析的内联约束。

返回

IRouteConstraint 联约束解析为 。

适用于