/// <summary>
        /// Init constructor.
        /// </summary>
        public FilterDebugListener(string name, IEnumerable<string> filters, int delay)
        {
            if (string.IsNullOrEmpty(name))
                throw new ArgumentNullException("name");

            Name = name;
            _filters = filters;
            _delayingModule = new DelayingModule(delay, this);
            _entries = new List<DebugEntry>();
        }
Example #2
0
        /// <summary>
        /// Init constructor.
        /// </summary>
        public FilterDebugListener(string name, IEnumerable <string> filters, int delay)
        {
            if (string.IsNullOrEmpty(name))
            {
                throw new ArgumentNullException("name");
            }

            Name            = name;
            _filters        = filters;
            _delayingModule = new DelayingModule(delay, this);
            _entries        = new List <DebugEntry>();
        }