Example #1
0
 public virtual void Update(HistoryItemViewModelBase item)
 {
     OrderIndex  = item.OrderIndex;
     Date        = item.Date;
     DateString  = item.DateString;
     IsConfirmed = item.IsConfirmed;
 }
Example #2
0
        public override void Update(HistoryItemViewModelBase item)
        {
            if (item is not CoinJoinsHistoryItemViewModel coinJoinHistoryItemViewModel)
            {
                throw new InvalidOperationException("Not the same type!");
            }

            CoinJoinTransactions = coinJoinHistoryItemViewModel.CoinJoinTransactions;
            UpdateAmount();

            base.Update(item);

            this.RaisePropertyChanged();
        }
Example #3
0
 public bool IsSimilar(HistoryItemViewModelBase item) => Id == item.Id;