예제 #1
0
        private void OnValueChanged()
        {
            var value = ((StringVariableWrapper)ActionProperties?.Variable)?.FormattedValue;

            _objectsRepository.ProcessActions(this);

            if (_text == value)
            {
                return;
            }
            _text = value;
            RaisePropertyChanged(nameof(Text));
        }
예제 #2
0
        private void OnValueChanged()
        {
            var value = ((BoolVariableWrapper)ActionProperties.Variable).IsSet;

            _objectsRepository.ProcessActions(this);

            if (Equals(_isChecked, value))
            {
                return;
            }

            _isChecked = value;
            RaisePropertyChanged(nameof(IsChecked));
        }