/// <summary>
 /// The method called to perform work every <see cref="ExecutionInterval"/> when the <see cref="CanExecute"/> method returns <b>true</b>.
 /// </summary>
 /// <param name="cancelToken">A <see cref="ThreadCancelToken"/> object which should be monitored by the <see cref="OnExecute"/> method. If the <see cref="ThreadCancelToken.CancelThread"/> becomes <b>True</b> the <see cref="OnExecute"/> method should, gracefully, terminate execution as quickly as possible.</param>
 protected override void OnExecute(ThreadCancelToken cancelToken) => _OnExecuteEvent(cancelToken);
Esempio n. 2
0
 /// <summary>
 /// The method called to perform work every <see cref="ExecutionInterval"/> when the <see cref="CanExecute"/> method returns <b>true</b>.
 /// </summary>
 /// <param name="cancelToken">A <see cref="ThreadCancelToken"/> object which should be monitored by the <see cref="OnExecute"/> method. If the <see cref="ThreadCancelToken.CancelThread"/> becomes <b>True</b> the <see cref="OnExecute"/> method should, gracefully, terminate execution as quickly as possible.</param>
 protected abstract void OnExecute(ThreadCancelToken cancelToken);