Beispiel #1
0
 public void OnSave()
 {
     SettingTabs.OfType <IDynamicViewModel>().ToList().ForEach(tab => tab.OnSave());
 }
Beispiel #2
0
 public bool AreMyChildsDirty()
 {
     return(SettingTabs.OfType <IDynamicViewModel>().Any(tab => tab.IsDirty || tab.AreMyChildsDirty()));
 }