Exemple #1
0
 public void SetTheme(ColorTheme theme)
 {
     colorTheme = theme;
     if (themeChanged != null)
     {
         themeChanged(colorTheme);
     }
 }
Exemple #2
0
 public ColorThemeObserver(ColorTheme theme)
 {
     SetTheme(theme);
 }