public static void ComputeEntryOccurCount() { if (m_htEntryHandlerTable == null) { return; } foreach (object obj in m_htEntryHandlerTable.Values) { BugCheckEntryHandlerBase entryHandlerBase = obj as BugCheckEntryHandlerBase; if (entryHandlerBase == null) { continue; } entryHandlerBase.ComputeEntryOccurCount(); } }
public static void Dispose() { if (m_htEntryHandlerTable == null || m_htEntryHandlerTable.Count <= 0) { return; } foreach (object obj in m_htEntryHandlerTable.Values) { BugCheckEntryHandlerBase entryHandlerBase = obj as BugCheckEntryHandlerBase; if (entryHandlerBase == null) { continue; } entryHandlerBase.ClearEntry(); } m_htEntryHandlerTable.Clear(); }
public static BugCheckEntry GetEntry(string szEntryID) { if (m_htEntryHandlerTable == null) { return(null); } foreach (object obj in m_htEntryHandlerTable.Values) { BugCheckEntryHandlerBase entryHandlerBase = obj as BugCheckEntryHandlerBase; if (entryHandlerBase == null) { continue; } BugCheckEntry qcEntry = entryHandlerBase.GetEntry(szEntryID); if (qcEntry != null) { return(qcEntry); } } return(null); }