Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created January 15, 2020 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcomartin/7042f6ef139a38daf86574876ddccc89 to your computer and use it in GitHub Desktop.
Save dcomartin/7042f6ef139a38daf86574876ddccc89 to your computer and use it in GitHub Desktop.
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