Skip to content

XerProjects/Xer.Cqrs.Extensions.SimpleInjector

Repository files navigation

Xer.Cqrs.Extensions.SimpleInjector

Extension for SimpleInjector's Container to allow easy registration of command handlers and event handlers.

public void ConfigureServices(SimpleInjector.Container container)
{
    // Register all CQRS components.
    container.RegisterCqrs(typeof(CommandHandler).Assembly, 
                           typeof(EventHandler).Assembly);
}

About

SimpleInjector container integration for Xer.Cqrs

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •