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")); }
public static List <GuidanceAllocation> Load(XmlNode inputNode, TaskDataDocument taskDocument) { var loader = new GuidanceAllocationLoader(taskDocument); return(loader.Load(inputNode.SelectNodes("GAN"))); }