void Publish() { Event.CreateBlock event0 = new Event.CreateBlock(); event0.BlockHash = "abc"; Event.CreateTransaction event1 = new Event.CreateTransaction(); event1.TxHash = "123"; _eventSystem.Publish(event0); _eventSystem.Publish(event1); }
void Callback10(Event.CreateTransaction e) { Console.WriteLine($"Order 10, {e.TxHash}"); }