Exemplo n.º 1
0
 public BaseService()
 {
     _DataConnectionManager = Host.Container.Resolve <IDataConnectionManager>();
     _DTService             = new CommonService(_DataConnectionManager);
     _CurrentTime           = DateTime.Now;
     _DTService.Initialize(null, _CurrentTime, Global.Cache);
 }
Exemplo n.º 2
0
 public BasePage()
     : base()
 {
     _DataConnectionManager = Host.Container.Resolve <IDataConnectionManager>();
     _DTService             = new CommonService(_DataConnectionManager);
     _ViewStateEx           = new StateBagWrapper(ViewState);
     _JS = new JS(this);
     _CK = new CK(this);
     switch (Host.Settings.Get <string>("AuthMode", "forms"))
     {
     default:
         _Auth = new FormsAuth(this);
         break;
     }
 }
Exemplo n.º 3
0
Arquivo: Service.cs Projeto: zdtx/zdtx
 public CommonService(IDataConnectionManager manager) : base(manager)
 {
 }