Sets up this object to use specified T:TextWriter.
Use this method to emit the code to specified T:TextWriter instead of the file. Use SetFileWriter if you want to emit to the file. This method sets the P:TextWriter property with the argument, and sets null for FilePath.