TemplateWriter.CopyToLine Method

NDoc Core

NDoc Documentation

TemplateWriter.CopyToLine Method 

Copies the text lines form the template to the output stream until a specific line is found.

public bool CopyToLine(
   string toLine
);

Parameters

toLine
The line text to search for. Must match exactly.

Return Value

true if the line was found, false if the end of the template stream was reached.

See Also

TemplateWriter Class | NDoc.Core Namespace