private bool loadIniPalette(string nameFileIniAtr, ref HashSet <string> setNamesFileAtr) { var profilesAtr = new IniProfile(nameFileIniAtr); var profilesPalette = profilesAtr.profiles["Attribute"]; foreach (var prefix in this.tablePrifixes) { Dictionary <string, DoGAAtrPaletteBase> mapAtr; if (!this.palettes.ContainsKey(prefix)) { mapAtr = new Dictionary <string, DoGAAtrPaletteBase>(); this.palettes.Add(prefix, mapAtr); } else { mapAtr = this.palettes[prefix]; } this.extractMapAtr(profilesPalette, prefix, ref mapAtr, ref setNamesFileAtr); } return(true); }
private void loadProfileIni() { var iniProduct = new IniProfile(this.pathInstalled + this.pathRelativeExe + this.nameFileIni); this.profiles = iniProduct.profiles[this.nameSection]; }