private static SlabFontFile[] LoadSlabBindingFontFiles(XmlNode node) { if (node.LocalName != "fonts") { throw new SlabManifestFormatException(string.Format("fonts node expected. Found {0}", node.LocalName)); } SlabFontFile[] array = new SlabFontFile[node.ChildNodes.Count]; for (int i = 0; i < node.ChildNodes.Count; i++) { string attributeValue = SlabManifestLoader.GetAttributeValue(node.ChildNodes[i], "name"); string attributeValue2 = SlabManifestLoader.GetAttributeValue(node.ChildNodes[i], "layout"); if (attributeValue != null) { array[i] = new SlabFontFile { Name = attributeValue, Layout = SlabManifestLoader.GetResourceLayout(attributeValue2) }; } } return(array); }
// Token: 0x060027E3 RID: 10211 RVA: 0x000930A0 File Offset: 0x000912A0 public override bool Equals(object obj) { SlabFontFile slabFontFile = obj as SlabFontFile; return(slabFontFile != null && this.Name == slabFontFile.Name && base.Equals(obj)); }