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