Changeset 552 for trunk/sources/HeuristicLab.CEDMA.DB.Interfaces/Entity.cs
- Timestamp:
- 09/11/08 21:09:14 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.DB.Interfaces/Entity.cs
r544 r552 34 34 this.Uri = uri; 35 35 } 36 37 public override bool Equals(object obj) { 38 if(this == obj) return true; 39 Entity other = obj as Entity; 40 if(other == null) return false; 41 else return other.Uri.Equals(this.Uri); 42 } 43 44 public override int GetHashCode() { 45 return Uri.GetHashCode(); 46 } 36 47 } 37 48 }
Note: See TracChangeset
for help on using the changeset viewer.