コード例 #1
0
            internal ITexWriterAsTextWriter( ITextWriter textWriter, Encoding encoding )
            {
                if( textWriter.NullReference() )
                    throw new ArgumentNullException("textWriter").StoreFileLine();

                if( encoding.NullReference() )
                    throw new ArgumentNullException("encoding").StoreFileLine();

                this.encoding = encoding;
                this.textWriter = textWriter;
            }