public static void ReadSFID(BinaryReader br, uint Size) { SkinFiles.Clear(); var numSkins = Size / 4; for (int i = 0; i < numSkins; i++) { SkinFiles.Add(br.ReadUInt32()); } }
protected override void ProcessFile(InstallFile file, System.Xml.XPath.XPathNavigator nav) { switch (file.Extension) { case "htm": case "html": case "ascx": case "css": if (file.Path.ToLower().IndexOf(Globals.glbAboutPage.ToLower()) < 0) { SkinFiles.Add(PhysicalBasePath + file.FullName); } break; } base.ProcessFile(file, nav); }
/// ----------------------------------------------------------------------------- /// <summary> /// The ProcessFile method determines what to do with parsed "file" node /// </summary> /// <param name="file">The file represented by the node</param> /// <param name="nav">The XPathNavigator representing the node</param> /// ----------------------------------------------------------------------------- protected override void ProcessFile(InstallFile file, XPathNavigator nav) { switch (file.Extension) { case "htm": case "html": case "ascx": case "css": if (file.Path.IndexOf(Globals.glbAboutPage, StringComparison.InvariantCultureIgnoreCase) < 0) { SkinFiles.Add(PhysicalBasePath + file.FullName); } break; } //Call base method to set up for file processing base.ProcessFile(file, nav); }