private platformVersion GetLastVersion(int platformType) { platformVersion lastVersion = null; platformInfo platform = GetPlatform(platformType); if (platform != null) { int maxVersion = 0; foreach (platformVersion version in platform.versions) { if (version.version > maxVersion) { maxVersion = version.version; lastVersion = version; } } } return(lastVersion); }
public void Remove(platformVersion version) { List.Remove(version); }
public void Add(platformVersion version) { List.Add(version); }