Exemple #1
0
 public void Prepare(string profilesFile, string profName)
 {
     r.LoadProfiles(profName);
     r.listFile = profilesFile;
     DebugClass.WriteMessage("profiles gen started " + profName);
     r.MakeProfiles();
     DebugClass.WriteMessage("Prfofiles end");
 }
Exemple #2
0
        public void Prepare(List <KeyValuePair <string, string> > profilesStr, string profName, string profFile)
        {
            r = new ProfileTree();
            r.LoadProfiles(profFile);

            foreach (var item in profilesStr)
            {
                List <string> aux = new List <string>(item.Value.Length);
                for (int i = 0; i < item.Value.Length; i++)
                {
                    aux.Add(item.Value[i].ToString());
                }

                r.AddItemsCombineStates(item.Key, aux);
            }
        }