/// <summary> /// This function is internal to the Jean for Hansoft framework and should not be called directly. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void OnDataHistoryReceived(object sender, DataHistoryReceivedEventArgs e) { try { OnDataHistoryReceived(e); } catch (Exception ex) { logger.Exception("Error proccessing DataHistoryReceived for behavior " + Title + ".", ex); } }
public override void OnDataHistoryReceived(DataHistoryReceivedEventArgs e) { if (initializationOK) { if (SessionManager.Session.UtilIsIDTask(e.Data.m_UniqueIdentifier) || SessionManager.Session.UtilIsIDTaskRef(e.Data.m_UniqueIdentifier)) { Task task = Task.GetTask(e.Data.m_UniqueIdentifier); DoUpdateFromHistory(task); } } }
/// <summary> /// Override this function in subclasses to handle DataHistoryReceived events. /// </summary> /// <param name="e">The details of the event.</param> public virtual void OnDataHistoryReceived(DataHistoryReceivedEventArgs e) { }