DocumentationSourceCollectionAdd(String, String, String, String, Boolean) Method

Add a new item to the collection

Definition

Namespace: SandcastleBuilder.Utils
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.12.21.0
public DocumentationSource Add(
	string filename,
	string config,
	string platform,
	string targetFramework,
	bool subFolders
)

Parameters

filename  String
The filename to add
config  String
The configuration to use for projects
platform  String
The platform to use for projects
targetFramework  String
The target framework to use for projects
subFolders  Boolean
True to include subfolders, false to only search the top-level folder

Return Value

DocumentationSource
The DocumentationSource added to the project or the existing item if the filename already exists in the collection.

Remarks

The DocumentationSource constructor is internal so that we control creation of the items and can associate them with the project.

See Also