Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((DirectorId.GetHashCode() * 397) ^ (Name != null ? Name.GetHashCode() : 0));
     }
 }
Exemplo n.º 2
0
 protected bool Equals(DirectorNamed other)
 {
     return(DirectorId.Equals(other.DirectorId) && string.Equals(Name, other.Name));
 }