LogViewer.Utilities.ProgressUtility.StartProgressTimer C# (CSharp) Method

StartProgressTimer() private method

private StartProgressTimer ( ) : void
return void
        void StartProgressTimer()
        {
            if (progressTimer == null)
            {
                UiDispatcher.RunOnUIThread(() =>
                {
                    progressTimer = new DispatcherTimer();
                    progressTimer.Tick += OnProgressTick;
                    progressTimer.Interval = TimeSpan.FromMilliseconds(30);
                    progressTimer.Start();
                });
            }
        }