HtmlLinkTransformer Class
- Namespace
- Kampute.DocToolkit.Formatters
- Assembly
- Kampute.DocToolkit.dll
Definition
Represents a text transformer that processes URLs in HTML content.
public sealed class HtmlLinkTransformer : ITextTransformer- Inheritance
- object
- HtmlLinkTransformer
- Implements
Remarks
Thread Safety
All public members of the type are guaranteed to be thread-safe.
Constructors
| HtmlLinkTransformer() | Initializes a new instance of the HtmlLinkTransformer class. |
Methods
| Transform(TextReader, TextWriter, IUrlTransformer) | Transforms HTML content by updating URLs according to the specified URL translator. |

hrefandsrc, replacing the URLs according to the provided IUrlTransformer.This transformer is particularly useful when generating HTML documentation where URLs need to be adjusted based on output structure or when implementing cross-references between documentation pages.