- Timestamp:
- 06/14/11 18:59:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Advanced/Util.cs
r5445 r6413 66 66 } 67 67 68 // compares for two plugins with same major and minor version if plugin1 is newer than plugin2 69 internal static bool IsNewerThan(IPluginDescription plugin1, IPluginDescription plugin2) { 70 // newer: build version is higher, or if build version is the same revision is higher 71 return plugin1.Version.Build > plugin2.Version.Build || 72 (plugin1.Version.Build == plugin2.Version.Build && plugin1.Version.Revision > plugin2.Version.Revision); 73 } 68 74 } 69 75 }
Note: See TracChangeset
for help on using the changeset viewer.