public Dictionary <string, string> MatchTestByIndexer(Mask.Mask mask, string TextToParse) { var afterParse = (SuccededResult)mask.Parse("", TextToParse); foreach (KeyValuePair <string, string> keyValuePair in afterParse.MatchedResult) { Assert.AreEqual(keyValuePair.Value, afterParse[keyValuePair.Key]); } return(afterParse.MatchedResult); }
public Dictionary <string, string> MatchTest(Mask.Mask mask, string TextToParse) { var result = (SuccededResult)mask.Parse("", TextToParse); return(result.MatchedResult); }