public override bool Equals(object o) { if (!(o is CreatorAppSettings)) { return(false); } CreatorAppSettings v = o as CreatorAppSettings; if (!AskSwitchDefaultPrinter.Equals(v.AskSwitchDefaultPrinter)) { return(false); } if (!LastLoginVersion.Equals(v.LastLoginVersion)) { return(false); } if (!LastSaveDirectory.Equals(v.LastSaveDirectory)) { return(false); } if (!LastUsedProfileGuid.Equals(v.LastUsedProfileGuid)) { return(false); } if (!PrimaryPrinter.Equals(v.PrimaryPrinter)) { return(false); } if (!SettingsVersion.Equals(v.SettingsVersion)) { return(false); } return(true); }
public override bool Equals(object o) { if (!(o is ApplicationProperties)) { return(false); } ApplicationProperties v = o as ApplicationProperties; if (!AskSwitchDefaultPrinter.Equals(v.AskSwitchDefaultPrinter)) { return(false); } if (!LastLoginVersion.Equals(v.LastLoginVersion)) { return(false); } if (!LastSaveDirectory.Equals(v.LastSaveDirectory)) { return(false); } if (!LastUsedProfileGuid.Equals(v.LastUsedProfileGuid)) { return(false); } if (!PrimaryPrinter.Equals(v.PrimaryPrinter)) { return(false); } return(true); }
public override bool Equals(object o) { if (!(o is ApplicationSettings)) { return(false); } ApplicationSettings v = o as ApplicationSettings; if (!Accounts.Equals(v.Accounts)) { return(false); } if (DefaultViewers.Count != v.DefaultViewers.Count) { return(false); } for (int i = 0; i < DefaultViewers.Count; i++) { if (!DefaultViewers[i].Equals(v.DefaultViewers[i])) { return(false); } } if (!JobHistory.Equals(v.JobHistory)) { return(false); } if (PrinterMappings.Count != v.PrinterMappings.Count) { return(false); } for (int i = 0; i < PrinterMappings.Count; i++) { if (!PrinterMappings[i].Equals(v.PrinterMappings[i])) { return(false); } } if (TitleReplacement.Count != v.TitleReplacement.Count) { return(false); } for (int i = 0; i < TitleReplacement.Count; i++) { if (!TitleReplacement[i].Equals(v.TitleReplacement[i])) { return(false); } } if (!AskSwitchDefaultPrinter.Equals(v.AskSwitchDefaultPrinter)) { return(false); } if (!Language.Equals(v.Language)) { return(false); } if (!LastLoginVersion.Equals(v.LastLoginVersion)) { return(false); } if (!LastSaveDirectory.Equals(v.LastSaveDirectory)) { return(false); } if (!LastUsedProfileGuid.Equals(v.LastUsedProfileGuid)) { return(false); } if (!LoggingLevel.Equals(v.LoggingLevel)) { return(false); } if (!PrimaryPrinter.Equals(v.PrimaryPrinter)) { return(false); } if (!UpdateInterval.Equals(v.UpdateInterval)) { return(false); } return(true); }