BeFriend.ViewModel.CallandSettingsPageViewModel.SliderValueControllerMethod C# (CSharp) Метод

SliderValueControllerMethod() приватный Метод

private SliderValueControllerMethod ( ) : void
Результат void
        private void SliderValueControllerMethod()
        {
            MessengerInstance.Send(new NotificationMessage("ProgressBarEnable"));
            var currentSliderValue = SliderValue;
            var localData = ApplicationData.Current.LocalSettings;

            if (localData.Values.ContainsKey("TimerTime")) localData.Values.Remove("TimerTime");
            localData.Values.Add("TimerTime", currentSliderValue);

            try
            {
                MessengerInstance.Send(new NotificationMessage(currentSliderValue.ToString()));
            }
            catch (Exception e)
            {
                Debug.WriteLine(e);
            }
            MessengerInstance.Send(new NotificationMessage("ProgressBarDisable"));
        }