Added ProjectTask

This commit is contained in:
Michael Becker 2014-12-04 22:13:40 -08:00
parent dc78de5bc9
commit aded88831b

View File

@ -556,6 +556,25 @@ namespace UniversalEditor.Common
}
}
#endregion
#region
{
MarkupTagElement tagTasks = (tagProjectType.Elements["Tasks"] as MarkupTagElement);
if (tagTasks != null)
{
foreach (MarkupElement el in tagTasks.Elements)
{
MarkupTagElement tag = (el as MarkupTagElement);
if (tag == null) continue;
if (tag.FullName != "Task") continue;
ProjectTask task = new ProjectTask();
task.Title = tag.Attributes["Title"].Value;
projtype.Tasks.Add(task);
}
}
}
#endregion
listProjectTypes.Add(projtype);
}