public static SUStandardVersionComparator SharedComparator() { if (sharedComparator == null) { sharedComparator = new SUStandardVersionComparator(); } return sharedComparator; }
public static SUStandardVersionComparator SharedComparator() { if (sharedComparator == null) { sharedComparator = new SUStandardVersionComparator(); } return(sharedComparator); }
public bool HostSupportsItem(SUAppcastItem item) { if (String.IsNullOrEmpty(item.MinimumSystemVersion)) { return(true); } else { return(SUStandardVersionComparator.SharedComparator().CompareVersionToVersion(item.MinimumSystemVersion, Host.SystemVersionString) < 1); } }
private SUVersionComparison VersionComparator() { SUVersionComparison comparator = null; if (Updater.Delegate != null) { comparator = Updater.Delegate.VersionComparatorForUpdater(Updater); } if (comparator == null) { comparator = SUStandardVersionComparator.SharedComparator(); } return(comparator); }