public static void InicializarTemporizador(Timer timer, Action accion, TimeSpan tiempoEsperaFuncionCallBack, TimeSpan periodoEsperaFuncionCallBack)
 {
     db         = db ?? CreateDbContext();
     TimerToken = new Timer((c) => {
         accion();
     }, accion, tiempoEsperaFuncionCallBack, periodoEsperaFuncionCallBack);
 }
Beispiel #2
0
 public AdscmenusController(SwSeguridadDbContext db)
 {
     this.db = db;
 }
 public BasesDatosController(SwSeguridadDbContext db)
 {
     this.db = db;
 }
 public AdscpasswsController(SwSeguridadDbContext db, IAuthenticationService _authService)
 {
     this.db           = db;
     this._authService = _authService;
 }
 public EmailController(SwSeguridadDbContext db)
 {
     this.db = db;
 }
 public HomeController(SwSeguridadDbContext db)
 {
     this.db = db;
 }