Ejemplo n.º 1
0
        public void RegisterService(Container clientContainer)
        {
            var domainEntry = new DomainGate();

            clientContainer.RegisterSingleton(domainEntry.CustomerService);
            clientContainer.RegisterSingleton(domainEntry.OrderService);
            clientContainer.RegisterSingleton(domainEntry.ProductService);
        }
Ejemplo n.º 2
0
 protected void Application_Start(object sender, EventArgs e)
 {
     CurrentDomainGate = new DomainGate();
 }