MarkdownFileTopic Constructor
- Namespace
- Kampute.DocToolkit.Topics
- Assembly
- Kampute.DocToolkit.dll
Definition
Initializes a new instance of the MarkdownFileTopic class.
public MarkdownFileTopic(string id, string path)Parameters
idstring- The unique identifier of the topic among its siblings, typically used for URLs or filenames.
pathstring- The path to the file that contains the topic content.
Exceptions
- ArgumentException
- Thrown when
idisnull, whitespace, or contains invalid characters, or whenpathisnullor whitespace.
