public static IKitbagBuilder AddCQRS(this IKitbagBuilder builder, string sectionName = "CQRS")
        {
            if (!builder.TryRegisterKitBag(sectionName))
            {
                return(builder);
            }

            builder.AddCommandHandlers();
            builder.AddInMemoryCommandDispatcher();

            builder.AddDomainEventHandlers();
            builder.AddInMemoryDomainEventDispatcher();

            builder.AddQueryHandlers();
            builder.AddInMemoryQueryDispatcher();

            return(builder);
        }