コード例 #1
0
ファイル: StringMatchers.cs プロジェクト: tammylotter/NExpect
 /// <summary>
 /// Checks for fragments in order in the string being expected upon
 /// </summary>
 /// <param name="stringIn">Continuation to operate on</param>
 /// <param name="firstFragment">First fragment to look for</param>
 /// <param name="fragments">Subsequent fragments to look for</param>
 /// <returns></returns>
 public static IStringMore Order(
     this IStringIn stringIn,
     string firstFragment,
     params string[] fragments
     )
 {
     return(stringIn.Order(new[] { firstFragment }.Concat(fragments), null));
 }