SenseNet.ContentRepository.CounterManager.Reset C# (CSharp) Method

Reset() public static method

public static Reset ( string counterName ) : void
counterName string
return void
        public static void Reset(string counterName)
        {
            if (!RepositoryConfiguration.PerformanceCountersEnabled)
                return;

            var counter = CounterManager.Current.GetCounter(counterName);
            if (counter != null)
                counter.Reset();
        }