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