Esempio n. 1
0
 internal void Handle(PairChanged @event) => _periodOperations.Process(@event);
 private void OnPairChanged()
 {
     PairChanged?.Invoke(Pair);
 }
 public Task Handle(PairChanged @event, CancellationToken cancellationToken)
 {
     _databaseRepository.UpdateOperation(PeriodId.From(@event.AggregateId), @event.OperationId, pair: @event.Pair);
     return(Task.CompletedTask);
 }
Esempio n. 4
0
 internal void Process(PairChanged @event) => _allOperations[@event.OperationId.Value].Pair                 = @event.Pair.Value;
Esempio n. 5
0
 private void OnPairChanged()
 {
     SetCurrencyLabels();
     priceTextBox.Clear();
     PairChanged?.Invoke(Pair);
 }