Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created February 23, 2016 04:16
Embed
What would you like to do?
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