Constructor Scheduler
- Namespace
- Skyline.DataMiner.Core.Scheduler.Automation
- Assembly
- Skyline.DataMiner.Core.Scheduler.Automation.dll
Scheduler(IConnection, Func<SchedulerTask, bool>)
Initializes a new instance of the Scheduler class by retrieving the Scheduler tasks according to the given selector.
public Scheduler(IConnection connection, Func<SchedulerTask, bool> selector = null)
Parameters
connectionIConnectionThe connection object used to communicate with the DataMiner system.
selectorFunc<SchedulerTask, bool>A filter function applied to the retrieved Scheduler tasks. If
null, no Scheduler tasks are retrieved.
Exceptions
- ArgumentNullException
Thrown when
connectionisnull.