Пример #1
0
 public InfoHilo(int id, IRespuesta <int> callback)
 {
     this.id       = id;
     this.callback = callback;
     this.hilo     = new Thread(this.Ejecutar);
     this.hilo.Start();
 }
Пример #2
0
 public InfoHilo(int id, IRespuesta <int> iRespuesta)
 {
     this._id       = id;
     this._callback = iRespuesta;
     this._hilo     = new Thread(this.Ejecutar);
     this._hilo.Start();
 }
Пример #3
0
 public InfoCarrera(int id, IRespuesta <int> callback)
 {
     this.id       = id;
     this.callback = callback;
     this.carrera  = new Thread(Correr);
     carrera.Start();
 }
Пример #4
0
 public InfoHilo(int id, IRespuesta <int> callback)
     : this()
 {
     this._id       = id;
     this._callback = callback;
     this._hilo     = new Thread(Ejecutar);
     this._hilo.Start();
 }
Пример #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();
        }
Пример #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;
 }