예제 #1
0
 private static int GetInteger(Version v)
 {
     return (int) (((v.Major & 0xFF) << 24) + (v.Minor << 12) + v.Revision);
 }
예제 #2
0
 protected bool Equals(Version other)
 {
     return Equals(ChangelogLines, other.ChangelogLines) && Revision == other.Revision && Minor == other.Minor &&
            Major == other.Major;
 }