IdentityTransformer.Transform Method

Namespace
Kampute.DocToolkit.Formatters
Assembly
  • Kampute.DocToolkit.dll

Definition

Copies the content from the source TextReader to the target TextWriter without any transformation.
public void Transform(TextReader reader, TextWriter writer, IUrlTransformer urlTransformer = null)

Parameters

reader TextReader
The TextReader to read the source text from.
writer TextWriter
The TextWriter to write the transformed text to.
urlTransformer IUrlTransformer optional
The optional IUrlTransformer for transforming URLs in the text. This parameter is ignored in this implementation.

Exceptions

ArgumentNullException
Thrown when reader or writer is null.