Patcher.UI.Progress.DoUpdate C# (CSharp) Method

DoUpdate() private method

private DoUpdate ( long current, long total, string text ) : void
current long
total long
text string
return void
        private void DoUpdate(long current, long total, string text)
        {
            Current = current;
            Total = total;
            Text = text;

            EventHandler temp = Updated;
            if (temp != null)
            {
                temp(this, EventArgs.Empty);
            }

            lastUpdateTicks = Environment.TickCount;
        }