Пример #1
0
 void FillConfigurations(Gtk.TreeIter configIter)
 {
     foreach (string name in test.GetConfigurations())
     {
         Properties configNodeProperties = new Properties();
         configNodeProperties.Set("UnitTest", test);
         configNodeProperties.Set("Config", name);
         foreach (OptionsDialogSection section in configurationNode.ChildNodes)
         {
             OptionsDialogSection s = (OptionsDialogSection)section.Clone();
             if (firstSection == null)
             {
                 firstSection = s;
             }
             s.Label = StringParserService.Parse(section.Label, new string[, ] {
                 { "Configuration", name }
             });
             AddSection(configIter, s, configNodeProperties);
         }
     }
 }