Created
October 4, 2017 01:36
-
-
Save dcomartin/8834ea49dedbfde2bbfcacf6e2e8fe4c 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
internal class GreetingCommandHandler : RequestHandler<GreetingCommand> | |
{ | |
[UseCommandSourcing(step: 1, timing: HandlerTiming.Before)] | |
public override GreetingCommand Handle(GreetingCommand command) | |
{ | |
Console.WriteLine("Hello {0}", command.Name); | |
return base.Handle(command); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment