Пример #1
0
        /// <summary>
        /// Increments the counter.
        /// </summary>
        public virtual void Increment()
        {
            _value.Increment();

            _iterations.Increment();

            if (_directWrite && (_iterations.Get() % _resolution) == 0)
            {
                Write();
            }
        }
Пример #2
0
        /// <summary>
        /// Increments the counter.
        /// </summary>
        public virtual void Increment()
        {
            _value.Increment();

            if (_directWrite)
            {
                Write();
            }
        }