예제 #1
0
 public IEnumerable <string> GetIDs() => first.GetIDs().Concat(second.GetIDs()).Distinct();
 /// <summary>
 /// Names of all known test vectors
 /// </summary>
 /// <returns>Enumeration of test vector names</returns>
 private static IEnumerable <string> TestVectorNames() => allExpectedOutputFolderResources.GetIDs().WhereSuffixed(new Regex($"{Regex.Escape(".protoc-output")}/.*")).Distinct();
예제 #3
0
 public IEnumerable <string> GetIDs() => parent.GetIDs().WherePrefixed(new Regex(Regex.Escape(prefix)));
 /// <summary>
 /// Names of all known test vectors
 /// </summary>
 /// <returns>Enumeration of test vector names</returns>
 private static IEnumerable <string> TestVectorNames() => allExpectedResponseResources.GetIDs().WhereSuffixed(new Regex(Regex.Escape($".{responseFileExtension}"))).Distinct();