Betzalel.SimpleMulticastAnalyzer.Infrastructure.HighResolutionTimer.TimerOneShotEventCallback C# (CSharp) Method

TimerOneShotEventCallback() private method

private TimerOneShotEventCallback ( int id, int msg, int user, int param1, int param2 ) : void
id int
msg int
user int
param1 int
param2 int
return void
        private void TimerOneShotEventCallback(int id, int msg, int user, int param1, int param2)
        {
            if (IsAsync)
              {
            Task.Factory.StartNew(() => tickRaiser.Invoke(new EventArgs()));
            Stop();
              }
              else
              {
            OnTick(EventArgs.Empty);
            Stop();
              }
        }