Click or drag to resize

folderNodeAttachSubfolders Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Scans the File System for unregistered sub directories at this folder, and returns newly registered ones.

Namespace:  imbSCI.Core.files.folders
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public List<folderNode> AttachSubfolders(
	string searchPattern = "*",
	bool forceScan = true,
	bool attachSubdirectories = true,
	ILogBuilder logger = null
)
Request Example View Source

Parameters

searchPattern (Optional)
Type: SystemString
The search pattern - to match subdires names.
forceScan (Optional)
Type: SystemBoolean
if set to true it will force scan of readme file, that will pick up folder description and registered files.
attachSubdirectories (Optional)
Type: SystemBoolean
if set to true it will run the procedure recursevly over complete directory tree.
logger (Optional)
Type: imbSCI.Core.reportingILogBuilder
The logger - to send debug information.

Return Value

Type: ListfolderNode
List of all previously unregistered subfolders
See Also