Update() protected method

protected Update ( ) : void
return void
Esempio n. 1
0
        private void SaveTransaction(TransactionMessage txnMessage)
        {
            _accountBalance.Update(txnMessage.Amount);

            _repository.Add(new Transaction
            {
                AccountNumber = txnMessage.Account,
                Amount        = txnMessage.Amount,
                StartDate     = txnMessage.StartDate
            });
        }
Esempio n. 2
0
        private void UpdateViewModels()
        {
            if (IsActive)
            {
                OrderBook.Update();
                Ticker.Update();
                Orders.Update();
                Balance.Update();

                _timerUpdate.Start();
                Ticker.LastUpdateSeconds = 0;
            }
        }
Esempio n. 3
0
 private void SettingsServiceOnSettingsLoaded(object sender, EventArgs e)
 {
     Balance.Update();
     Orders.Update();
 }