public EchoEvaluationContext( EchoEvaluationContext ctx ) { Out = ctx.Out; CommandEvaluationContext = ctx.CommandEvaluationContext; Options = ctx.Options; }
public void Deconstruct( out ConsoleTextWriterWrapper @out, out CommandEvaluationContext context, out FormatingOptions options) { @out = Out; context = CommandEvaluationContext; options = Options; }
public EchoEvaluationContext( EchoEvaluationContext ctx, FormatingOptions options ) { Out = ctx.Out; CommandEvaluationContext = ctx.CommandEvaluationContext; Options = options; }
public EchoEvaluationContext( ConsoleTextWriterWrapper @out, CommandEvaluationContext cmdContext, FormatingOptions options = null) { Out = @out; CommandEvaluationContext = cmdContext; Options = options; }
public EchoEvaluationContext(CommandEvaluationContext context) { Out = context.Out; CommandEvaluationContext = context; Options = new FormatingOptions(); }
public FormatingOptions InitFrom(FormatingOptions o) { this.IsRawModeEnabled = o.IsRawModeEnabled; this.LineBreak = o.LineBreak; return(this); }
public FormatingOptions(FormatingOptions o) => InitFrom(o);