Table of Contents

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

connection IConnection

The connection object used to communicate with the DataMiner system.

selector Func<SchedulerTask, bool>

A filter function applied to the retrieved Scheduler tasks. If null, no Scheduler tasks are retrieved.

Exceptions

ArgumentNullException

Thrown when connection is null.