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