Пример #1
0
 private void LoadTaskGuidSetFromXml(SecurityElement element)
 {
     if (element.Children != null)
     {
         foreach (SecurityElement element2 in element.Children)
         {
             if (element2.Tag == "TaskGuid")
             {
                 TaskGuid item = new TaskGuid {
                     TaskType        = TypeNameContainer <_TaskType> .Parse(element2.Attribute("Type"), 0),
                     AttachConParent = StrParser.ParseStr(element2.Attribute("AttachComponentParent"), string.Empty)
                 };
                 this._taskGuids.Add(item);
             }
         }
     }
 }
Пример #2
0
 public override DataEntity <Task> Entity(string partition)
 {
     return(new DataEntity <Task>(this, partition, TaskGuid.ToString()));
 }