/// <summary>Returns whether the given Concurrent Incident can be safely merged with the user's values.</summary> /// <param name="moddedTask">The concurrent requirement.</param> private bool save_CheckIfConcurrencyCanBeMerged(RemoteTask moddedTask) { bool retValue = false; try { //Get current values.. RemoteTask userTask = this.save_GetFromFields(); retValue = userTask.CanBeMergedWith(this._Task, moddedTask); } catch (Exception ex) { Logger.LogMessage(ex, "save_CheckIfConcurrencyCanBeMerged()"); MessageBox.Show(StaticFuncs.getCultureResource.GetString("app_General_UnexpectedError"), StaticFuncs.getCultureResource.GetString("app_General_ApplicationShortName"), MessageBoxButton.OK, MessageBoxImage.Error); retValue = false; } return(retValue); }