Changeset 508
- Timestamp:
- 08/13/08 12:15:45 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Data/ObjectData.cs
r66 r508 51 51 52 52 public override bool Equals(object obj) { 53 if(obj == this) return true; // same instance 53 54 IObjectData other = obj as IObjectData; 54 if 55 return Data.Equals(other );55 if(other != null) 56 return Data.Equals(other.Data); // are the contained Data the same? 56 57 else 57 return Data.Equals(obj);58 return false; 58 59 } 59 60
Note: See TracChangeset
for help on using the changeset viewer.