-
-
Save justinyoo/fc454b59b8879b0d37d1 to your computer and use it in GitHub Desktop.
Event Sourcing & CQRS Pattern for SPA
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 RegisterRequestHandlers(ContainerBuilder builder) | |
{ | |
... | |
builder.RegisterType<UsernameChangeRequestHandler>() | |
.As<IRequestHandler>() | |
.PropertiesAutowired() | |
.InstancePerLifetimeScope(); | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment