Exemplo n.º 1
0
        /// <summary>
        /// Increments the counter.
        /// </summary>
        public virtual void Increment()
        {
            _value.Increment();

            _iterations.Increment();

            if (_directWrite && (_iterations.Get() % _resolution) == 0)
            {
                Write();
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// Increments the counter.
        /// </summary>
        public virtual void Increment()
        {
            _value.Increment();

            if (_directWrite)
            {
                Write();
            }
        }