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