public AsynchronousIntervalTimer(IAsynchronousDelay taskDelay, TimeSpan interval, bool delayOnExecute) { _taskDelay = taskDelay; _interval = interval; _delayOnExecute = delayOnExecute; }