internal void WriteLine(TextWriter output, int indent) { string ind = new string(' ', indent); output.WriteLine("{0}Stream {1}:", ind, ID); output.WriteLine("{0} Header:", ind); EventHeader.WriteLine(output, null, indent + 8); output.WriteLine("{0} PacketContext:", ind); PacketContext.WriteLine(output, null, indent + 8); output.WriteLine("{0} Events:", ind); foreach (CtfEvent evt in _events) { evt.WriteLine(output, null, indent + 8); } output.WriteLine(); }