public bool Compare(AppSpecificKeysDataModel arg) { if (arg == null) { throw new ArgumentNullException(nameof(arg)); } // Using Ordinal comparison for internal text return(OriginalKeys.Equals(arg.OriginalKeys, StringComparison.Ordinal) && NewRemapKeys.Equals(arg.NewRemapKeys, StringComparison.Ordinal) && TargetApp.Equals(arg.TargetApp, StringComparison.Ordinal)); }
public bool Compare(AppSpecificKeysDataModel arg) { return(OriginalKeys.Equals(arg.OriginalKeys) && NewRemapKeys.Equals(arg.NewRemapKeys) && TargetApp.Equals(arg.TargetApp)); }