FileSystemDocumentWriterFactory.CreateWriter Method

Namespace
Kampute.DocToolkit
Assembly
  • Kampute.DocToolkit.dll

Definition

Creates an instance of TextWriter for rendering documentation content of the specified document model.
public virtual TextWriter CreateWriter(IDocumentModel model)

Parameters

model IDocumentModel
The model to create a rendering target for.

Returns

TextWriter
An instance of TextWriter for writing documentation content.

Exceptions

ArgumentNullException
Thrown when model is null.
ArgumentException
Thrown when the file path of the model could not be resolved.