public Task Handle(BalanceChangedEvent_V1 msg, IMessageMetadata metadata) { _publisher.Publish(new BalanceAggregateChangedEventNotification { AggregateId = msg.SourceId }); return(Task.CompletedTask); }
private void Apply(BalanceChangedEvent_V1 e) { Amount += e.AmountChange; }