Esempio n. 1
0
        /// @param amount
        ///     The amount to progress
        ///
        public void AddProgress(int amount)
        {
            if (IsComplete() == false)
            {
                m_progress += amount;
                OnProgressed.SafeInvoke();

                if (IsComplete() == true)
                {
                    OnCompleted.SafeInvoke();
                }
            }
        }