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
readerTextReader- The TextReader to read the source text from.
writerTextWriter- The TextWriter to write the transformed text to.
urlTransformerIUrlTransformer optional- The optional IUrlTransformer for transforming URLs in the text. This parameter is ignored in this implementation.
Exceptions
- ArgumentNullException
- Thrown when
readerorwriterisnull.
