documentation bug
In the documentation for the TaskFolder.EnumerateFolders method, the following description is provided:
Returns an enumerable collection of folders that matches a specified filter and recursion option.
However, the actual method signature is:
public IEnumerable<TaskFolder> EnumerateFolders(
Predicate<TaskFolder> filter = null
)
There is no recurse or similar boolean parameter in the method definition, unlike EnumerateTasks, which does include a recursion option:
public IEnumerable<Task> EnumerateTasks(
Predicate<Task> filter = null,
bool recurse = false
)
This inconsistency may mislead developers into expecting a recursive folder enumeration capability which does not exist in the method signature.
Expected:
The method should include a bool recurse parameter, as the description implies, or the documentation should be corrected to reflect that recursion is not currently supported by EnumerateFolders.
references
https://dahall.github.io/TaskScheduler/html/M_Microsoft_Win32_TaskScheduler_TaskFolder_EnumerateFolders.htm
https://dahall.github.io/TaskScheduler/html/M_Microsoft_Win32_TaskScheduler_TaskFolder_EnumerateTasks.htm
Thank you for maintaining this library.
documentation bug
In the documentation for the TaskFolder.EnumerateFolders method, the following description is provided:
Returns an enumerable collection of folders that matches a specified filter and recursion option.However, the actual method signature is:
There is no recurse or similar boolean parameter in the method definition, unlike EnumerateTasks, which does include a recursion option:
This inconsistency may mislead developers into expecting a recursive folder enumeration capability which does not exist in the method signature.
Expected:
The method should include a bool recurse parameter, as the description implies, or the documentation should be corrected to reflect that recursion is not currently supported by EnumerateFolders.
references
https://dahall.github.io/TaskScheduler/html/M_Microsoft_Win32_TaskScheduler_TaskFolder_EnumerateFolders.htm
https://dahall.github.io/TaskScheduler/html/M_Microsoft_Win32_TaskScheduler_TaskFolder_EnumerateTasks.htm
Thank you for maintaining this library.