Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created February 23, 2016 04:16
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/f7ccfabb83a2bdd71d00 to your computer and use it in GitHub Desktop.
Save dcomartin/f7ccfabb83a2bdd71d00 to your computer and use it in GitHub Desktop.
private static void EventAppeared(EventStorePersistentSubscriptionBase eventStorePersistentSubscriptionBase,
ResolvedEvent resolvedEvent)
{
var data = Encoding.ASCII.GetString(resolvedEvent.Event.Data);
Console.WriteLine("Received: " + resolvedEvent.Event.EventStreamId + ":" + resolvedEvent.Event.EventNumber);
Console.WriteLine(data);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment