HtmlAddressingStrategy.GetTopicPath Method
- Namespace
- Kampute.DocToolkit.Routing
- Assembly
- Kampute.DocToolkit.dll
Definition
Constructs the path for the specified topic, replacing invalid characters with the provided replacement character.
protected virtual string GetTopicPath(ITopic topic, char replacement)Parameters
topicITopic- The topic for which the path is being constructed.
replacementchar- The character used to replace invalid characters in the topic path.
Returns
- string
- A string representing the constructed path for the topic.
Exceptions
- ArgumentNullException
- Thrown when
topicisnull.

replacementcharacter.