public static void SetEstimateTime(string listId, string taskSeriesId, string taskId, string estimateTime) { try { rtm.TasksSetEstimateTime(timeline, listId, taskSeriesId, taskId, estimateTime); } catch (RtmException e) { Log <RTM> .Debug(e.Message); return; } if (String.IsNullOrEmpty(estimateTime)) { FinalizeAction(AddinManager.CurrentLocalizer.GetString("Task Estimated Time Unset"), AddinManager.CurrentLocalizer.GetString("The estimated time for the selected task has been unset.")); } else { FinalizeAction(AddinManager.CurrentLocalizer.GetString("Task Estimated Time Set"), AddinManager.CurrentLocalizer.GetString("The selected task has been assigned an estimated time.")); } }