Exemple #1
0
        /// <summary>
        /// Decrements the counter.
        /// </summary>
        public virtual void Decrement()
        {
            _value.Decrement();

            if (_directWrite)
            {
                Write();
            }
        }
Exemple #2
0
        /// <summary>
        /// Decrements the counter.
        /// </summary>
        public virtual void Decrement()
        {
            _value.Decrement();

            _iterations.Increment();

            if (_directWrite && (_iterations.Get() % _resolution) == 0)
            {
                Write();
            }
        }