Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created January 15, 2020 02:20
Embed
What would you like to do?
var eventString = JsonConvert.SerializeObject(new OrderPlaced(OrderId), new JsonSerializerSettings
{
TypeNameHandling = TypeNameHandling.All
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment