SenseNet.ContentRepository.CounterManager.SetRawValue C# (CSharp) Метод

SetRawValue() публичный статический Метод

public static SetRawValue ( string counterName, long value ) : void
counterName string
value long
Результат void
        public static void SetRawValue(string counterName, long value)
        {
            if (!RepositoryConfiguration.PerformanceCountersEnabled)
                return;

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