コード例 #1
0
 public static string Describe <T>(CompositeMatcher <T> Matcher, Func <Matcher <T>, string> Describer)
 {
     return(ObjectDescriber.Listify(
                Matcher.Matchers.Select(Describer),
                ", ",
                Matcher.Aggregator == Aggregators.AND ? ", and " : ", or "));
 }
コード例 #2
0
 public static string Describe(CompositeMatcher <Tile> Matcher)
 {
     return(Describe(Matcher, Describe));
 }