Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.