Exemple #1
0
        private void StopTimer()
        {
            ValueChangedTimer?.Dispose();
            ValueChangedTimer = null;

            Frequency = int.MaxValue;
        }
Exemple #2
0
        /// <inheritdoc />
        public virtual void Dispose()
        {
            lock (ValueChangedHandlers)
            {
                ValueChangedHandlers.Clear();

                ValueChangedTimer?.Dispose();
            }
        }