protected virtual void OnChanged(TransactionEvent t, EventArgs e) { Console.WriteLine($"{DateTime.Now} [{nameof(EventStore)}] Logging transaction {t} {e}"); Changed?.Invoke(t, e); }
private void AddTransctionToBook(TransactionEvent t, EventArgs e) { Console.WriteLine($"{DateTime.Now} [{nameof(TransactionEventBook)}]: Adding the following transcation ({t}) to the Book ."); Book.Add(t); }