IdentityTransformer Class
- Namespace
- Kampute.DocToolkit.Formatters
- Assembly
- Kampute.DocToolkit.dll
Definition
Represents a format transformer that does not perform any transformation.
public sealed class IdentityTransformer : ITextTransformer- Inheritance
- object
- IdentityTransformer
- Implements
Remarks
Thread Safety
All public members of the type are guaranteed to be thread-safe.
Properties
| Instance | Gets the singleton instance of the IdentityTransformer class. |
Methods
| Transform(TextReader, TextWriter, IUrlTransformer) | Copies the content from the source TextReader to the target TextWriter without any transformation. |

The class is designed as a singleton, so use the Instance property to access the shared instance rather than creating new instances.