Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created February 17, 2021 22:07
Embed
What would you like to do?
public interface IEvent {}
public record ProductShipped(string Sku, int Quantity, DateTime DateTime) : IEvent;
public record ProductReceived(string Sku, int Quantity, DateTime DateTime) : IEvent;
public record InventoryAdjusted(string Sku, int Quantity, string Reason, DateTime DateTime) : IEvent;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment