Microsoft.Cci.SourceEmitter.SourceEmitter C# (CSharp) Method

SourceEmitter() public method

A wrapper for a TextWriter instance that adds various methods for emitting source code in a nicely formatted way. The formatting conventions can be specified via options.
public SourceEmitter ( TextWriter textWriter ) : System
textWriter System.IO.TextWriter The TextWriter instance to which the formatted source code is written.
return System
    public SourceEmitter(TextWriter textWriter) {
      Contract.Requires(textWriter != null);

      this.textWriter = textWriter;
      this.atTheStartOfANewLine = true;
    }