예제 #1
0
파일: PgServ.cs 프로젝트: cmxcol/sinco_q
        public PgServ()
        {
            UnityContainer container = new UnityContainer();

            container.LoadConfiguration("Cmp");
            cmpPg = container.Resolve <ICmpPg>();
        }
예제 #2
0
파일: CacheServ.cs 프로젝트: cmxcol/sinco_q
        public CacheServ()
        {
            UnityContainer container = new UnityContainer();

            container.LoadConfiguration("Cmp");
            _cmpCache = container.Resolve <ICmpCache>();
            _cmpPg    = container.Resolve <ICmpPg>();
            _cmpMPg   = container.Resolve <ICmpMPg>();
        }