Exemplo n.º 1
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Returns HashCode</returns>
 public override int GetHashCode()
 {
     return(String.Format("{0}|{1}",
                          Owners.Aggregate(0, (acc, next) => acc += (next != null ? next.GetHashCode() : 0)),
                          Members.Aggregate(0, (acc, next) => acc += (next != null ? next.GetHashCode() : 0))
                          ).GetHashCode());
 }