FileTopic Constructor

Namespace
Kampute.DocToolkit.Topics
Assembly
  • Kampute.DocToolkit.dll

Definition

Initializes a new instance of the FileTopic class.
public FileTopic(string id, string path)

Parameters

id string
The unique identifier of the topic among its siblings, typically used for URLs or filenames.
path string
The path to the file that contains the topic content.

Exceptions

ArgumentException
Thrown when id is null, whitespace, or contains invalid characters, or when path is null or whitespace.