示例#1
0
        public static void DeleteTags(string listId, string taskSeriesId, string taskId, string tags)
        {
            if (String.IsNullOrEmpty(tags))
            {
                Log <RTM> .Debug("[RememberTheMilk] Tags to delete is empty or null string.");
            }
            else
            {
                try {
                    rtm.TasksRemoveTags(timeline, listId, taskSeriesId, taskId, tags);
                } catch (RtmException e) {
                    Log <RTM> .Debug(e.Message);

                    return;
                }

                FinalizeAction(AddinManager.CurrentLocalizer.GetString("Tags Deleted"),
                               AddinManager.CurrentLocalizer.GetString("Selected tags have been successfully removed from the selected task."));
            }
        }