Table of Contents

ApiTopicSectionHandler.ApiTopicSectionHandler Constructor

Definition

Namespace
Sandcastle.Core.PresentationStyle.Transformation.Elements
Assembly
Sandcastle.Core.dll

ApiTopicSectionHandler(ApiTopicSectionType, Action<TopicTransformationCore>)

Constructor for well-known sections

public ApiTopicSectionHandler(ApiTopicSectionType sectionType, Action<TopicTransformationCore> renderSection)

Parameters

sectionType ApiTopicSectionType

The section type

renderSection Action<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

sectionType ApiTopicSectionType

The section type

customSectionName string

The custom section name if this is a custom section

renderSection Action<TopicTransformationCore>

The action to perform that will render the section. It will be passed a reference to the topic transformations.