/// <summary> /// Initializes a new instance of the <see cref="MemoryTraceWriter"/> class. /// </summary> /// <param name="traceStore">The <see cref="TraceStore"/> in which to store traces.</param> public MemoryTraceWriter(MemoryTraceStore traceStore) { if (traceStore == null) { throw new ArgumentNullException("traceStore"); } _traceStore = traceStore; }