/// <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()); }
public override string ToString() { return(Members.Aggregate("", (current, member) => current + (member + " "))); }