AdHocTopic Class
- Namespace
- Kampute.DocToolkit.Topics
- Assembly
- Kampute.DocToolkit.dll
Definition
Represents a documentation topic that generates its content using a delegate.
public sealed class AdHocTopic : DynamicTopic- Inheritance
- object
- TopicSource
- DynamicTopic
- AdHocTopic
Remarks
The AdHocTopic class allows for dynamic generation of documentation content by invoking a provided delegate. This is useful for scenarios where the content needs to be computed or generated on-the-fly based on the current state of the documentation context.
Constructors
| AdHocTopic(string, Action<MarkupWriter, IDocumentationContext>) | Initializes a new instance of the AdHocTopic class. |
Methods
| GenerateContent(MarkupWriter, IDocumentationContext) | Generates the documentation content using the specified MarkupWriter and IDocumentationContext. |
