Created
February 23, 2016 04:16
-
-
Save dcomartin/f7ccfabb83a2bdd71d00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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