TargetDictionaryLoadTargetDictionary Method
This helper method can be called to find all target files and load them into the dictionary
Namespace: Sandcastle.Tools.BuildComponents.TargetsAssembly: Sandcastle.Tools.BuildComponents (in Sandcastle.Tools.BuildComponents.dll) Version: 2024.12.21.0
protected virtual void LoadTargetDictionary(
int maxDegreeOfParallelism = -1
)
Protected Overridable Sub LoadTargetDictionary (
Optional maxDegreeOfParallelism As Integer = -1
)
protected:
virtual void LoadTargetDictionary(
int maxDegreeOfParallelism = -1
)
abstract LoadTargetDictionary :
?maxDegreeOfParallelism : int
(* Defaults:
let _maxDegreeOfParallelism = defaultArg maxDegreeOfParallelism -1
*)
-> unit
override LoadTargetDictionary :
?maxDegreeOfParallelism : int
(* Defaults:
let _maxDegreeOfParallelism = defaultArg maxDegreeOfParallelism -1
*)
-> unit
Parameters
- maxDegreeOfParallelism Int32 (Optional)
- This can be used to override the maximum degree of parallelism.
By default, it is -1 to allow as many threads as possible.
This method assumes that the dictionary is thread-safe and supports parallel loading of
target data. If not, override this method to load the data synchronously.