Exemplo n.º 1
0
        public static void initialize()
        {
            SystemInfoRepository stInfoRepo = new SystemInfoRepository();

            SystemInfo = stInfoRepo.ListAll()[0];
            company    = new CompanyController().ListALL()[0];
        }
Exemplo n.º 2
0
 public MainController()
 {
     this.CipherManager  = new CipherManagerController();
     this.infoRepository = new SystemInfoRepository();
     int           num   = 0;
     TimerCallback tm    = new TimerCallback((s) => { this.Send?.Invoke("Get", "Request"); });
     Timer         timer = new Timer(tm, num, 0, 300000);
 }
Exemplo n.º 3
0
 public SystemInfoService(SystemInfoRepository SystemInfoRepository)
 {
     this._systemInfoRepository = SystemInfoRepository;
 }