Skip to content

Repository files navigation

Xer.Cqrs.Extensions.Microsoft.DependencyInjection

Extension for IServiceCollection to allow easy registration of command handlers and event handlers.

public void ConfigureServices(IServiceCollection services)
{
    // Register all CQRS components.
    services.AddCqrs(typeof(CommandHandler).Assembly, 
                     typeof(EventHandler).Assembly);
}

About

Microsoft.DependencyInjection IServiceCollection integration for Xer.Cqrs

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages