Created
June 16, 2016 02:15
-
-
Save dcomartin/8321e989a12e5b06ef6c0491f932b1b1 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
Console.WriteLine("Input: "); | |
var input = Console.ReadLine(); | |
var commandNoId = new HelloWorld {Input = $"Enqueing with no Id: {input}"}; | |
mediator.Enqueue(commandNoId); | |
var id = Guid.NewGuid(); | |
var commandWithId = new HelloWorld { Input = $"Enqueing with Id({id}): {input}"}; | |
mediator.Enqueue(id, commandWithId); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment