public override bool Equals( object obj ) { var unit = obj as Unit; if ( unit == null ) return false; return unit.Guid == this.Guid; }