Chirp.Radio.DelegateCommand.CanExecute C# (CSharp) Method

CanExecute() public method

public CanExecute ( object parameter ) : bool
parameter object
return bool
        public bool CanExecute(object parameter)
        {
            bool result = true;
            Func<object, bool> canExecuteHandler = this.canExecute;
            if (canExecuteHandler != null)
            {
                result = canExecuteHandler(parameter);
            }

            return result;
        }