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

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

            _iterations.Increment();

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