public Worker(LoginResponse auth, ref ThreadWorkerModel model)
 {
     _auth              = auth;
     _model             = model;
     BaseGateway.apiUrl = _model.UrlAPI;
     apiGateway         = new ApiGateway(_auth.jwt);
 }
Example #2
0
 public ThreadWorker(StampaDto stampa, ThreadWorkerModel model)
 {
     this.stampa = stampa;
     this.model  = model;
     t           = new Thread(DoWork);
     t.Start();
 }
Example #3
0
 public Manager(ThreadWorkerModel model)
 {
     _model             = model;
     BaseGateway.apiUrl = _model.UrlAPI;
 }