Ejemplo n.º 1
0
 public OperateContext()
 {
     /*使用反射特别要注意的地方,会到网站根目录下去找*/
     //string pLocal = Path.GetDirectoryName(Environment.CurrentDirectory);
     //Assembly asmb = Assembly.Load( "BLL");
     //Type supType = asmb.GetType("BLL.BLLSession");
     //IBLL.IBLLSession obj = Activator.CreateInstance(supType) as IBLL.IBLLSession;
     BLLSession = DI.SpringHelper.GetObject <IBLL.IBLLSession>("BLLSession");
 }
Ejemplo n.º 2
0
 public OperateContext()
 {
     /*使用反射特别要注意的地方,会到网站根目录下去找*/
     //string pLocal = Path.GetDirectoryName(Environment.CurrentDirectory);
     //Assembly asmb = Assembly.Load( "BLL");
     //Type supType = asmb.GetType("BLL.BLLSession");
     //IBLL.IBLLSession obj = Activator.CreateInstance(supType) as IBLL.IBLLSession;
     BLLSession = DI.SpringHelper.GetObject<IBLL.IBLLSession>("BLLSession");
 }
Ejemplo n.º 3
0
 public OperateContext()
 {
     BLLSession = DI.SpringHelper.GetObject<IBLL.IBLLSession>("BLLSession");
 }
Ejemplo n.º 4
0
 public OperateContext()
 {
     BLLSession = DI.SpringHelper.GetObject <IBLL.IBLLSession>("BLLSession");
 }
Ejemplo n.º 5
0
 public OperateContext()
 {
     //BLLSession = DI.SpringHelper.GetObject<IBLL.IBLLSession>("BLLSession");
     BLLSession = IOC.AutoFacHelper.Resolve <IBLL.IBLLSession>();
 }