internal HistoryInfo GetEntry(long id) { using (History._trace.TraceMethod()) { lock (this._syncRoot) { this.ReallocateBufferIfNeeded(); HistoryInfo entry = this.CoreGetEntry(id); return(entry != null && !entry.Cleared ? entry.Clone() : (HistoryInfo)null); } } }
internal HistoryInfo GetEntry(long id) { lock (this._syncRoot) { this.ReallocateBufferIfNeeded(); HistoryInfo info = this.CoreGetEntry(id); if ((info != null) && !info.Cleared) { return(info.Clone()); } return(null); } }