private void SetDisplaySummaries(ISessionSummaryCollection summaries)
        {
            lock (m_Lock)
            {
                m_SessionSummaries = summaries;

                //and if we have any session ids for our current case w need to recalculate the summaries
                if ((m_CaseSessionIds != null) && (m_CaseSessionIds.Count > 0))
                {
                    UpdateSelectedSessions();
                }
            }
        }
        private void SetDisplaySummaries(ISessionSummaryCollection summaries)
        {
            m_SessionSummaries = summaries;

            //and if we're the active view then we need to re-search
            if ((m_ViewIsActive) && (IsValid))
            {
                PerformSearch();
            }
            else
            {
                //we need to clear the selected values since we should presume it has changed.
                ClearSearch();
            }
        }
Пример #3
0
        private void SetDisplaySummaries(ISessionSummaryCollection summaries)
        {
            lock (m_Lock)
            {
                m_SessionSummaries = summaries;
                m_SessionIds       = new Dictionary <Guid, ISessionSummary>();
                foreach (ISessionSummary summary in summaries)
                {
                    m_SessionIds.Add(summary.Id, summary);
                }

                CalculateSessionCases();
            }

            ThreadSafeDisplayCaseList();

            UpdateSelectedSessions();
        }
        private void SetDisplaySummaries(ISessionSummaryCollection summaries)
        {
            m_SessionSummaries = summaries;

            //and if we're the active view then we need to re-search
            if ((m_ViewIsActive) && (IsValid))
            {
                PerformSearch();
            }
            else
            {
                //we need to clear the selected values since we should presume it has changed. 
                ClearSearch();
            }
        }
        private void SetDisplaySummaries(ISessionSummaryCollection summaries)
        {
            lock (m_Lock)
            {
                m_SessionSummaries = summaries;
                m_SessionIds = new Dictionary<Guid, ISessionSummary>();
                foreach (ISessionSummary summary in summaries)
                {
                    m_SessionIds.Add(summary.Id, summary);
                }

                CalculateSessionCases();
            }

            ThreadSafeDisplayCaseList();

            UpdateSelectedSessions();
        }
Пример #6
0
        private void SetDisplaySummaries(ISessionSummaryCollection summaries)
        {
            lock(m_Lock)
            {
                m_SessionSummaries = summaries;

                //and if we have any session ids for our current case w need to recalculate the summaries
                if ((m_CaseSessionIds != null) && (m_CaseSessionIds.Count > 0))
                {
                    UpdateSelectedSessions();
                }
            }
        }