Changeset 3179 for trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/DeploymentService/PluginDescription.cs
- Timestamp:
- 03/22/10 16:53:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/DeploymentService/PluginDescription.cs
r3092 r3179 104 104 return Name + " " + Version; 105 105 } 106 107 public override bool Equals(object obj) { 108 PluginDescription other = obj as PluginDescription; 109 if (other == null) return false; 110 else return other.Name == this.Name && other.Version == this.Version; 111 } 112 113 public override int GetHashCode() { 114 return Name.GetHashCode() + Version.GetHashCode(); 115 } 106 116 } 107 117 }
Note: See TracChangeset
for help on using the changeset viewer.