Inheritance: System.IO.TextWriter
Example #1
0
 public BufferedOutputStream(BufferedOutput output)
 {
     this.output = output;
 }
Example #2
0
 BufferedOutput EnsureBufferedOutput(bool enableBuffering)
 => _bufferedOutput ?? (_bufferedOutput = new BufferedOutput(this, enableBuffering, _textSink, _streamSink));
Example #3
0
 public BufferedOutputStream(BufferedOutput output)
 {
     this.output = output;
 }
Example #4
0
        private static PhpArray/*!*/ GetLevelStatus(BufferedOutput/*!*/ bo, int index)
        {
            PhpArray result = new PhpArray(0, 3);

            Delegate filter;
            int size;
            bo.GetLevelInfo(index, out filter, out size);

            if (filter != null)
            {
                result.Add("type", 1);
                result.Add("name", filter.ToString());
            }
            else
            {
                result.Add("type", 0);
            }
            result.Add("buffer_size", size);

            return result;
        }
Example #5
0
 BufferedOutput EnsureBufferedOutput(bool enableBuffering)
     => _bufferedOutput ?? (_bufferedOutput = new BufferedOutput(enableBuffering, _textSink, _streamSink, this.StringEncoding));
Example #6
0
 BufferedOutput EnsureBufferedOutput(bool enableBuffering)
 => _bufferedOutput ?? (_bufferedOutput = new BufferedOutput(enableBuffering, _textSink, _streamSink, this.StringEncoding));