Skip to content

XerProjects/Xer.Cqrs.Extensions.Autofac

Repository files navigation

Xer.Cqrs.Extensions.Autofac

Extension for Autofac's ContainerBuilder to allow easy registration of command handlers and event handlers.

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

About

Autofac container integration for Xer.Cqrs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •