NDoc 1.3.1 SDK |

# TemplateWriter Constructor (String, TextReader)

Initializes a new instance of the TemplateWriter class for the specified file on the specified path, using the specified template stream and using the default encoding and buffer size.

    [Visual Basic]
    Public Sub New( _
       ByVal outPath As String, _
       ByVal template As TextReader _
    )
    [C#]
    public TemplateWriter(
       string outPath,
       TextReader template
    );
    [C++]
    public: TemplateWriter(
       String* outPath,
       TextReader* template
    );
    [JScript]
    public function TemplateWriter(
       String outPath,
       TextReader template
    );

#### Parameters

outPath
  The complete file path to write to.
template
  The template's stream reader.

#### See Also

TemplateWriter Class | NDoc.Core Namespace | TemplateWriter Constructor Overload List