ApiTopicSectionHandler.ApiTopicSectionHandler Constructor
Definition
- Assembly
- Sandcastle.Core.dll
ApiTopicSectionHandler(ApiTopicSectionType, Action<TopicTransformationCore>)
Constructor for well-known sections
public ApiTopicSectionHandler(ApiTopicSectionType sectionType, Action<TopicTransformationCore> renderSection)
Parameters
sectionTypeApiTopicSectionTypeThe section type
renderSectionAction<TopicTransformationCore>The action to perform that will render the section. It will be passed a reference to the topic transformations.
ApiTopicSectionHandler(ApiTopicSectionType, string, Action<TopicTransformationCore>)
This constructor supporting specifying a custom section type and name
public ApiTopicSectionHandler(ApiTopicSectionType sectionType, string customSectionName, Action<TopicTransformationCore> renderSection)
Parameters
sectionTypeApiTopicSectionTypeThe section type
customSectionNamestringThe custom section name if this is a custom section
renderSectionAction<TopicTransformationCore>The action to perform that will render the section. It will be passed a reference to the topic transformations.