protected bool Equals(AccentViewModel other)
 {
     return string.Equals(this.name, other.name);
 }
 public void ChangeAccent(AccentViewModel accentVm)
 {
     var accent = ThemeManager.Accents.First(x => x.Name == accentVm.Name);
     this.themeManager.ChangeAccent(accent);
 }
Exemplo n.º 3
0
 protected bool Equals(AccentViewModel other)
 {
     return(string.Equals(name, other.name));
 }
        public void ChangeAccent(AccentViewModel accentVm)
        {
            var accent = ThemeManager.Accents.First(x => x.Name == accentVm.Name);

            themeManager.ChangeAccent(accent);
        }