/// <summary> /// Exits the protected code section /// </summary> public void Dispose() { if (_srcCounter != null) { _srcCounter.ExitClientCore(); _srcCounter = null; } }
/// <summary> /// EntryCountingEventGuard constructor /// </summary> /// <param name="srcCounter">EntryCountingEvent</param> internal EntryCountingEventGuard(EntryCountingEvent srcCounter) { _srcCounter = srcCounter; }