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