Esempio n. 1
0
 /// <summary>
 /// Invoke the tick action
 /// </summary>
 internal void DoSomething()
 {
     if (TickTask != null)
     {
         TickTask.Invoke();
     }
 }
Esempio n. 2
0
        /// <summary>
        /// End this timer and call the completion callback specified by Then
        /// </summary>
        internal void End()
        {
            Cancelled = true;

            if (completionCallback != null)
            {
                completionCallback.Invoke();
            }
        }