internal static void Map(this BankAccountClosed bankAccountClosed, Domain.ReadModels.BankAccount bankAccount)
 {
     bankAccount.IsClosed  = true;
     bankAccount.Timestamp = bankAccountClosed.Timestamp;
 }
Ejemplo n.º 2
0
 void IApply <BankAccountClosed> .Apply(BankAccountClosed @event)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 3
0
 protected virtual void OnBankAccountClosed(EventArgs e)
 {
     BankAccountClosed?.Invoke(this, e);
 }
 private void Apply(BankAccountClosed bankAccountClosed)
 {
     IsClosed = true;
 }