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