示例#1
0
        private void LoadGuidanceAllocations(XmlNode inputNode, LoggedData task)
        {
            var allocations = GuidanceAllocationLoader.Load(inputNode, _taskDocument);

            _taskDocument.GuidanceAllocations.AddRange(allocations);

            task.GuidanceAllocationIds = allocations.Select(x => x.Id.ReferenceId).ToList();
        }
 public static List<GuidanceAllocation> Load(XmlNode inputNode, TaskDataDocument taskDocument)
 {
     var loader = new GuidanceAllocationLoader(taskDocument);
     return loader.Load(inputNode.SelectNodes("GAN"));
 }
示例#3
0
        public static List <GuidanceAllocation> Load(XmlNode inputNode, TaskDataDocument taskDocument)
        {
            var loader = new GuidanceAllocationLoader(taskDocument);

            return(loader.Load(inputNode.SelectNodes("GAN")));
        }