private void OnValueChanged() { var value = ((StringVariableWrapper)ActionProperties?.Variable)?.FormattedValue; _objectsRepository.ProcessActions(this); if (_text == value) { return; } _text = value; RaisePropertyChanged(nameof(Text)); }
private void OnValueChanged() { var value = ((BoolVariableWrapper)ActionProperties.Variable).IsSet; _objectsRepository.ProcessActions(this); if (Equals(_isChecked, value)) { return; } _isChecked = value; RaisePropertyChanged(nameof(IsChecked)); }