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