static SerializedVersionHelper() { CurrentAppVersion = new SerializedVersion(FileHelper.REFLECTINSIGHT_APP_VERSION_MAJOR, FileHelper.REFLECTINSIGHT_APP_VERSION_MINOR); CurrentBinFileVersion = new SerializedVersion(FileHelper.REFLECTINSIGHT_BIN_FILE_VERSION_MAJOR, FileHelper.REFLECTINSIGHT_BIN_FILE_VERSION_MINOR); CurrentUserBinVersion = new SerializedVersion(FileHelper.REFLECTINSIGHT_USER_BIN_VERSION_MAJOR, FileHelper.REFLECTINSIGHT_USER_BIN_VERSION_MINOR); }
public Boolean IsVersionGreaterThan(SerializedVersion version) { return((VersionMajor > version.VersionMajor) || (VersionMajor == version.VersionMajor && VersionMinor > version.VersionMinor)); }
public Boolean IsVersionLessThan(SerializedVersion version) { return(!IsVersionEqualTo(version) && !IsVersionGreaterThan(version)); }
public Boolean IsVersionEqualTo(SerializedVersion version) { return(VersionMajor == version.VersionMajor && VersionMinor == version.VersionMinor); }