/// <summary> /// Make sure that a task' ref and tasktype end with '/' /// </summary> /// <param name="po"></param> private static void CheckTask(Task task) { if (task != null) { // Make sure that a tasktype always end with a / if (!task.TaskType.EndsWith("/")) { task.TaskType += "/"; } // Make sure that a ref always end with a / if (!task.Reference.EndsWith("/")) { task.Reference += "/"; } } }
/// <summary> /// Make sure that a task' ref and tasktype end with '/' /// </summary> /// <param name="po"></param> private static void CheckTask(Task task) { // Make sure that a tasktype always end with a / if (task != null && !task.TaskType.EndsWith("/")) { task.TaskType += "/"; } }