private IListConfiguration GetListConfiguration(string name, IContainer container)
        {
            IListConfiguration listConfig = container.Configuration.GetListConfiguration(name);
            if (listConfig == null)
            {
                listConfig = new ListConfiguration();
                listConfig.Name = name;
                container.Configuration.AddListConfiguration(listConfig);
            }

            return listConfig;
        }
 private void FillItemTypes(ListConfiguration listConfig)
 {
     foreach (ListItemConfiguration listItemConfig in listConfig.ListItemConfigurations)
     {
         if (listItemConfig.Value is ObjectConfiguration)
         {
             ObjectConfiguration referenceObject = listItemConfig.Value as ObjectConfiguration;
             listItemConfig.Type = referenceObject.Type;
         }
     }
 }