예제 #1
0
 /// <summary>
 /// Invoke the tick action
 /// </summary>
 internal void DoSomething()
 {
     if (TickTask != null)
     {
         TickTask.Invoke();
     }
 }
예제 #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();
            }
        }