Пример #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="agente">Referencia del Agente</param>
 public AgenteCache(IAgente agente, string horasLimpiar)
 {
     this.AgenteCot = agente;
     this._cacheGen = new CacheGenerica(horasLimpiar);
     this._usuarioPermisosSuscripcion = UsuarioPermisosSuscripcion;
 }
Пример #2
0
 public void Detach(IAgente agente)
 {
     _agentes.Remove(agente);
 }
Пример #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="agente">Referencia del Agente</param>
 public AgenteCache(IAgente agente)
 {
     this.AgenteCot = agente;
     this._cacheGen = new CacheGenerica();
     this._usuarioPermisosSuscripcion = UsuarioPermisosSuscripcion;
 }
Пример #4
0
 public void Attach(IAgente agente)
 {
     _agentes.Add(agente);
 }