Catrobat.IDE.Core.ViewModels.Editor.Formula.ChangeVariableViewModel.SaveCommand_CanExecute C# (CSharp) 메소드

SaveCommand_CanExecute() 개인적인 메소드

private SaveCommand_CanExecute ( ) : bool
리턴 bool
        private bool SaveCommand_CanExecute()
        {
            return !string.IsNullOrEmpty(UserVariableName) &&
                   !VariableHelper.VariableNameExistsCheckSelf(CurrentProgram, SelectedSprite, UserVariable, UserVariableName);
        }