protected override void ConfigureApplicationContainer(TinyIoCContainer container)
        {
            base.ConfigureApplicationContainer(container);

            container.RegisterImplementations(typeof(IDomainEventHandler<>));
            container.RegisterImplementations(typeof(IQueryHandler<,>));
            container.RegisterImplementations(typeof(ICommandHandler<>));
            container.Register(GetConnectionManager());

            ConfigureDependencies(container);
        }
Beispiel #2
0
        protected override void ConfigureApplicationContainer(TinyIoCContainer container)
        {
            base.ConfigureApplicationContainer(container);

            container.RegisterImplementations(typeof(IDomainEventHandler <>));
            container.RegisterImplementations(typeof(IQueryHandler <,>));
            container.RegisterImplementations(typeof(ICommandHandler <>));
            container.Register(GetConnectionManager());

            ConfigureDependencies(container);
        }