public void ComponentAutoWiring()
        {
            WiringSession wsession = (WiringSession)container["wiring.service"];

            wsession.UsingISessionFactory();

            wsession.UsingISessionFactoryHolder();
        }
示例#2
0
        public void ComponentAutoWiring()
        {
            WiringSession wsession = container.Resolve <WiringSession>("wiring.service");

            wsession.UsingISessionFactory();

            wsession.UsingISessionFactoryHolder();
        }