internal TraceListItem(string fn, TraceMeta meta, TraceRecorder recorder) { m_FileName = fn; Meta = meta; Recorder = recorder; }
public TraceSession(ITraceFileHandler handler, Socket socket, string filename) { Socket = socket; Recorder = new TraceRecorder(handler, socket, filename); }
object ITraceFileHandler.OnRecordingStarted(string filename, TraceMeta meta, TraceRecorder recorder) { var item = new TraceListItem(filename, meta, recorder); this.Invoke((Action)delegate() { m_TraceItems.Add(item); m_TraceList.SetObjects(m_TraceItems); }); return item; }