public static void UpdateAccountFiles() { foreach (Account acc in Accounts.Where <Account>(x => x.Settings.Loginfile != null)) { if (!acc.Settings.Loginfile.IsUpToDate) { LocalDatManager.UpdateLocalDat(acc.Settings.Loginfile); } } }
private void UpdateLoginFile() { if (account.Settings.Loginfile != null) { if (!account.Settings.Loginfile.IsUpToDate) { LocalDatManager.UpdateLocalDat(account.Settings.Loginfile); } } }