Example #1
0
 public ThemeResult GetTheme(string name)
 {
     ThemeResult result = new ThemeResult();
     Theme theme = _loadedConfig.GetThemeByName(name);
     if (theme != null)
     {
         result.Success = true;
         result.Theme = theme;
     }
     return result;
 }
Example #2
0
        public ThemeResult GetTheme(string name)
        {
            ThemeResult result = new ThemeResult();
            Theme       theme  = _loadedConfig.GetThemeByName(name);

            if (theme != null)
            {
                result.Success = true;
                result.Theme   = theme;
            }
            return(result);
        }