public void Update(Account account)
 {
     account.SetRestartDelayActive(false);
     account.SetPID(_newPID);
     account.SetLastStartTime(DateTime.Now);
 }
Exemple #2
0
 public void AddAccount(Account account)
 {
     Logger.LoggingObject.Log(ELogType.Debug,
         LanguageManager.Singleton.GetTranslation(ETranslations.ConfigNewAccount));
     account.SetIndex(AccountSettings.Count);
     account.SetPID(uint.MaxValue);
     AccountSettings.Add(account);
 }