Table of Contents

SharedContentComponent Class

Definition

Namespace
Sandcastle.Tools.BuildComponents
Assembly
Sandcastle.Tools.BuildComponents.dll

This build component is used to replace a given set of elements with the content of shared content items loaded from XML files.

public class SharedContentComponent : BuildComponentCore, IDisposable
Inheritance
SharedContentComponent
Implements

Constructors

SharedContentComponent(IBuildAssembler)

Constructor

Properties

BuildAssembler

This read-only property returns a reference to the build assembler instance using the component

(Inherited from BuildComponentCore)
GroupId

This is used to set an optional group ID for use with component events

(Inherited from BuildComponentCore)

Methods

Apply(XmlDocument, string)

Search for elements to replace and insert the shared content in their place

Dispose()

This implements the Dispose() interface to properly dispose of the build component.

(Inherited from BuildComponentCore)
Initialize(XPathNavigator)

This abstract method must be overridden to initialize the component

ParseDocuments(string)

Find content files using the given wildcard and load all of the content items in them