Пример #1
0
 /// <summary>
 /// construct a context to push on the stack
 /// </summary>
 /// <param name="cmd">reference to the OutCommandInner instance who owns this instance</param>
 /// <param name="parentContext">parent context in the stack</param>
 /// <param name="formatData">format data to put in the context</param>
 internal TableOutputContext(OutCommandInner cmd,
     FormatMessagesContextManager.OutputContext parentContext,
     GroupStartData formatData)
     : base(cmd, parentContext, formatData)
 {
 }
Пример #2
0
 /// <summary>
 /// construct a context to push on the stack
 /// </summary>
 internal GroupOutputContext(OutCommandInner cmd,
                         FormatMessagesContextManager.OutputContext parentContext,
                         GroupStartData formatData)
     : base(parentContext)
 {
     InnerCommand = cmd;
     Data = formatData;
 }
Пример #3
0
 internal TableOutputContextBase(OutCommandInner cmd, FormatMessagesContextManager.OutputContext parentContext, GroupStartData formatData) : base(cmd, parentContext, formatData)
 {
     this.tableWriter = new TableWriter();
 }
Пример #4
0
 internal ListOutputContext(OutCommandInner cmd, FormatMessagesContextManager.OutputContext parentContext, GroupStartData formatData) : base(cmd, parentContext, formatData)
 {
     this.listWriter = new ListWriter();
 }
Пример #5
0
 internal GroupOutputContext(OutCommandInner cmd, FormatMessagesContextManager.OutputContext parentContext, GroupStartData formatData) : base(parentContext)
 {
     this.cmd        = cmd;
     this.formatData = formatData;
 }
Пример #6
0
 internal ComplexOutputContext(OutCommandInner cmd, FormatMessagesContextManager.OutputContext parentContext, GroupStartData formatData) : base(cmd, parentContext, formatData)
 {
     this.writer = new ComplexWriter();
 }