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