public IEnumerable <UiStyle> GetDefaultPreferences()
        {
            var handler = (UiPreferencesSectionHandler)ConfigurationManager.GetSection("Reko/UiPreferences");

            if (handler == null)
            {
                handler = new UiPreferencesSectionHandler();
            }
            return(handler.GetPreferences());
        }
 public IEnumerable<UiStyle> GetDefaultPreferences()
 {
     var handler = (UiPreferencesSectionHandler) ConfigurationManager.GetSection("Reko/UiPreferences");
     if (handler == null)
         handler = new UiPreferencesSectionHandler();
     return handler.GetPreferences();
 }