AdvancedLauncher.UI.Commands.SimpleCommand.CanExecute C# (CSharp) Method

CanExecute() public method

public CanExecute ( object parameter ) : bool
parameter object
return bool
        public bool CanExecute(object parameter)
        {
            if (CanExecuteDelegate != null)
                return CanExecuteDelegate(parameter);
            return true; // if there is no can execute default to true
        }