Exemple #1
0
 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;
 }
Exemple #2
0
 // 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;
 }
Exemple #3
0
 public TestApp1()
 {
     iVersion = new AppVersion(0, 1, 0);
 }