Exemplo n.º 1
0
 public InfoHilo(int id, IRespuesta <int> callback)
 {
     this.id       = id;
     this.callback = callback;
     this.hilo     = new Thread(this.Ejecutar);
     this.hilo.Start();
 }
Exemplo n.º 2
0
 public InfoHilo(int id, IRespuesta <int> iRespuesta)
 {
     this._id       = id;
     this._callback = iRespuesta;
     this._hilo     = new Thread(this.Ejecutar);
     this._hilo.Start();
 }
Exemplo n.º 3
0
 public InfoCarrera(int id, IRespuesta <int> callback)
 {
     this.id       = id;
     this.callback = callback;
     this.carrera  = new Thread(Correr);
     carrera.Start();
 }
Exemplo n.º 4
0
 public InfoHilo(int id, IRespuesta <int> callback)
     : this()
 {
     this._id       = id;
     this._callback = callback;
     this._hilo     = new Thread(Ejecutar);
     this._hilo.Start();
 }
Exemplo n.º 5
0
        public InfoHilos(int id, IRespuesta <int> callBack)

        {
            this.id       = id;
            this.callBack = callBack;
            this.hilo     = new Thread(Ejecutar);//hilo  inicializa el metodo ejecutar
            hilo.Start();
        }
Exemplo n.º 6
0
 public InfoHilo(int id, IRespuesta <int> callback) : this()
 {
     this.id       = id;
     this.callback = callback;
 }
 public RespuestaService(IRespuesta _RespuestaRepo, IUnitOfWork _unitOfWork)
 {
     this.RespuestaRepo = _RespuestaRepo;
     this.unitOfWork    = _unitOfWork;
 }