コード例 #1
0
 public MacroPointService(ApplicationServicesSetup appServicesSetup)
 {
     _appServicesSetup  = appServicesSetup;
     _appServices       = new ApplicationServices(_appServicesSetup);
     MacroPointID       = _appServices.ApplicationSettings["MacroPointID"];
     MacroPointPassword = _appServices.ApplicationSettings["MacroPointPassword"];
 }
コード例 #2
0
 protected override void Dispose(bool disposing)
 {
     _applicationServices      = null;
     _applicationServicesSetup = null;
     _user = null;
     base.Dispose(disposing);
 }
コード例 #3
0
 public BaseBusiness(ApplicationServicesSetup appServicesSetup, AspNetUser user)
 {
     _appServicesSetup                = appServicesSetup;
     _appServices                     = new ApplicationServices(appServicesSetup);
     _repository.LazyLoading          = appServicesSetup.LazyLoading;
     _repository.ProxyCreationEnabled = appServicesSetup.ProxyCreationEnabled;
     ValidationErrors                 = new List <string>();
     _user = user;
 }
コード例 #4
0
 public DashboardBusiness(ApplicationServicesSetup appServicesSetup, AspNetUser user)
 {
     _user        = user;
     _appServices = new ApplicationServices(appServicesSetup);
     _db          = new ATGV3Entities();
 }