public AppInfo( string aName, AppState aState, bool aPendingUpdate, bool aPendingDelete, string aUdn, string aFriendlyName, bool aAutoUpdate, string aUpdateUrl, string aIconUrl, AppVersion aVersion, DateTime? aDownloadLastModified, bool aIsSystemApp) { Name = aName; State = aState; PendingUpdate = aPendingUpdate; PendingDelete = aPendingDelete; Udn = aUdn; FriendlyName = aFriendlyName; AutoUpdate = aAutoUpdate; UpdateUrl = aUpdateUrl; IconUrl = aIconUrl; Version = aVersion; DownloadLastModified = aDownloadLastModified; IsSystemApp = aIsSystemApp; }
// Equality members auto-generated by Resharper: public bool Equals(AppVersion other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return other.Major == Major && other.Minor == Minor && other.Build == Build; }
public TestApp1() { iVersion = new AppVersion(0, 1, 0); }