Exemple #1
0
 public bool Match(Cat cat)
 {
     return(cat.GetFullName() == null);
 }
Exemple #2
0
 public bool Match(Cat cat)
 {
     return(cat._firstName.StartsWith("A"));
 }
Exemple #3
0
 public bool Match(Cat cat)
 {
     return(cat.GetFirstName() == "Occam" &&
            cat.GetAge() == 1);
 }
Exemple #4
0
 public bool Match(Cat cat)
 {
     return(cat.GetFullName() == "Achat Leo Lenis");
 }
Exemple #5
0
 public bool Match(Cat cat)
 {
     return(cat._age + 1 == 2);
 }
Exemple #6
0
 public bool Match(Cat cat)
 {
     return((cat._father._father != null && cat._father._father._firstName == "Edwin") ||
            cat._father._firstName == "Edwin");
 }
Exemple #7
0
 public bool Match(Cat cat)
 {
     return(cat._father._father._firstName == "Edwin");
 }
Exemple #8
0
 public bool Match(Cat cat)
 {
     return(cat._father._age == 1);
 }
Exemple #9
0
 public bool Match(Cat cat)
 {
     return(cat._age == 7);
 }