public void IncrementUsages() { Interlocked.Increment(ref _usageCount); if(IsDebugEnabled) log.Debug("Increment usages of NHUnitOfWorkAdapter. usage count: " + _usageCount); }