/// <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;
        }
示例#2
0
        /// <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;
        }