WriteErrorString() private method

private WriteErrorString ( string s ) : void
s string
return void
Exemplo n.º 1
0
            public override void Write(char value)
            {
                _builder.Append(value);

                if (value == '\n')
                {
                    if (_error)
                    {
                        _control.WriteErrorString(_builder.ToString());
                    }
                    else
                    {
                        _control.WriteOutputString(_builder.ToString());
                    }
                    _builder.Clear();
                }
            }