Beispiel #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            NotificacionEventoEN t = obj as NotificacionEventoEN;

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Beispiel #2
0
 public NotificacionEventoEN(NotificacionEventoEN notificacionEvento)
 {
     this.init(Id, notificacionEvento.EventoGenerador, notificacionEvento.Titulo, notificacionEvento.Mensaje, notificacionEvento.NotificacionesGeneradas, notificacionEvento.Fecha);
 }