Exemplo n.º 1
0
 public void ParseClub(string s)
 {
     Club = new Club(s);
 }
Exemplo n.º 2
0
 public void SetEmpty()
 {
     Name.SetEmpty();
     Club.SetEmpty();
 }
Exemplo n.º 3
0
 public bool MatchesSearchString(string key)
 {
     return(Name.ToString().ToLower().Contains(key.ToLower()) ||
            Club.ToString().ToLower().Contains(key.ToLower()) ||
            Role.ToString().ToLower().Contains(key.ToLower()));
 }
Exemplo n.º 4
0
 public AbstractDebater()
 {
     name = new Name();
     club = new Club();
     role = new Role();
 }
Exemplo n.º 5
0
 public override int GetHashCode()
 {
     return(Name.GetHashCode() +
            Club.GetHashCode());
 }