public ConsoleWriterContext(IConsoleWriterContext parent, ConsoleWriterConfig config, uint tabLevel)
        {
            if (config == null)
                throw new ArgumentNullException("config");

            this.parent = parent;
            this.config = config;
            this.tabLevel = tabLevel;
        }
 public ConsoleWriterContext(IConsoleWriterContext parent, ConsoleWriterConfig config)
     : this(parent, config, 0)
 {
 }
Пример #3
0
 public ConsoleWriter(ConsoleWriterConfig config)
 {
     this.config = config;
     this.root = new ConsoleWriterContext(null, this.config);
 }