private static Dictionary <string, SlabDefinition> LoadNonBootSlabDefinitions(XmlNodeList nodes) { Dictionary <string, SlabDefinition> dictionary = new Dictionary <string, SlabDefinition>(); for (int i = 0; i < nodes.Count; i++) { KeyValuePair <string, SlabDefinition> keyValuePair = SlabManifestLoader.LoadSlab <SlabDefinition>(nodes[i]); dictionary.Add(keyValuePair.Key, keyValuePair.Value); } return(dictionary); }
private static BootSlabDefinition LoadBootSlabDefinition(XmlNode node) { return(SlabManifestLoader.LoadSlab <BootSlabDefinition>(node).Value); }