ArcGISWindowsPhoneSDK.DelegateCommand.CanExecute C# (CSharp) Method

CanExecute() public method

public CanExecute ( object parameter ) : bool
parameter object
return bool
        public bool CanExecute(object parameter)
        {
            bool temp = canExecute(parameter);
            if (canExecuteCache != temp)
            {
                canExecuteCache = temp;
                if (CanExecuteChanged != null)
                {
                    CanExecuteChanged(this, new EventArgs());
                }
            }

            return canExecuteCache;
        }