DocumentedEntitiesOnlyPlugIn Class

This plug-in is used to automatically generate an API filter based on the XML comments member IDs to limit the help file content to only the documented entities.

Definition

Namespace: SandcastleBuilder.PlugIns
Assembly: SandcastleBuilder.PlugIns (in SandcastleBuilder.PlugIns.dll) Version: 2024.2.18.0
public sealed class DocumentedEntitiesOnlyPlugIn : IPlugIn, 
	IDisposable
Inheritance
Object    DocumentedEntitiesOnlyPlugIn
Implements
IPlugIn, IDisposable

Remarks

This plug-in is unique in that it runs both before and after the GenerateReflectionInfo step. This is necessary as we must remove any project-based API filter and generate a full set of API information in order to compare it to the XML comments member IDs. Once we have done that, we can generate an API filter and apply it by building the reflection information again.

Note that we are still constrained by the rules of the API filter. Specifically, if you exclude one member of an overloaded method set, all of them will be excluded. There is no getting around that rule.

In addition, since inherited documentation is generated after reflection data is generated, undocumented members of explicitly implemented interfaces will not be included. If you want them included, you must explicitly add an inheritdoc tag on those members.

To explicitly exclude a documented member, add the exclude XML comment tag to its comments. If placed on a type, it will exclude the entire type regardless of whether or not it has documented members. If placed on a NamespaceDoc class, it will exclude all types within the namespace regardless of whether or not they are documented. Note that namespace exclusions defined in the project namespace summaries will have no effect. You must either add a NamespaceDoc class for the excluded namespace or exclude all of its types.

Constructors

DocumentedEntitiesOnlyPlugInInitializes a new instance of the DocumentedEntitiesOnlyPlugIn class

Properties

ExecutionPoints This read-only property returns a collection of execution points that define when the plug-in should be invoked during the build process.

Methods

Dispose This implements the Dispose() interface to properly dispose of the plug-in object
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Execute This method is used to execute the plug-in during the build process
Finalize This handles garbage collection to ensure proper disposal of the plug-in if not done explicitly with Dispose.
(Overrides ObjectFinalize)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Initialize This method is used to initialize the plug-in at the start of the build process
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also