Exemple #1
0
 // Equality members auto-generated by Resharper:
 public bool Equals(AppInfo other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other.Name, Name) && Equals(other.State, State) && other.PendingUpdate.Equals(PendingUpdate) && other.PendingDelete.Equals(PendingDelete) && Equals(other.Udn, Udn) && Equals(other.FriendlyName, FriendlyName) && other.AutoUpdate.Equals(AutoUpdate) && Equals(other.UpdateUrl, UpdateUrl) && Equals(other.IconUrl, IconUrl) && Equals(other.Version, Version) && other.DownloadLastModified.Equals(DownloadLastModified) && other.IsSystemApp.Equals(IsSystemApp);
 }
Exemple #2
0
 static void PrintAppState(AppInfo aAppInfo)
 {
     Console.Error.WriteLine("Name={0}, State={1}, PendingUpdate={2}, PendingDelete={3}, Udn={4}", aAppInfo.Name, aAppInfo.State, aAppInfo.PendingUpdate, aAppInfo.PendingDelete, aAppInfo.Udn);
 }