Пример #1
0
        public void Register(IDomainBuilder builder)
        {
            builder.Register(_container.Resolve <BuyNowProcessDomainConfiguration>());
            builder.Register(_container.Resolve <SkuDomainConfiguration>());
            builder.Register(_container.Resolve <OrderDomainConfiguration>());
            builder.Register(_container.Resolve <UserDomainConfiguration>());

            builder.Register(new SkuStockDomainConfiguration());
            builder.Register(new AccountDomainConfiguration());
        }