Exemple #1
0
        public static ComparisonChain <T> Then <T>(this Comparison <T> comparison, Comparison <T> anotherComparison)
        {
            var t = new ComparisonChain <T>();

            t.Add(comparison);
            t.Add(anotherComparison);
            return(t);
        }
Exemple #2
0
 public static ComparisonChain <T> Then <T>(this ComparisonChain <T> comparisonChain, Comparison <T> comparison)
 {
     comparisonChain.Add(comparison);
     return(comparisonChain);
 }