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