Beispiel #1
0
        public static void AddTags(string listId, string taskSeriesId, string taskId, string tags)
        {
            if (String.IsNullOrEmpty(tags))
            {
                Log <RTM> .Debug("Tags to add is empty or null string.");
            }
            else
            {
                try {
                    rtm.TasksAddTags(timeline, listId, taskSeriesId, taskId, tags);
                } catch (RtmException e) {
                    Log <RTM> .Debug(e.Message);

                    return;
                }

                FinalizeAction(AddinManager.CurrentLocalizer.GetString("Tags Added"),
                               AddinManager.CurrentLocalizer.GetString("New tags have been successfully added to the selected task."));
            }
        }