ConstraintExpression.EndsWith(String) 方法

定义

如果实际值以作为参数提供的子字符串结尾,则返回一个成功的约束。

public NUnit.Framework.Constraints.EndsWithConstraint EndsWith (string expected);
member this.EndsWith : string -> NUnit.Framework.Constraints.EndsWithConstraint

参数

expected
String

返回

适用于