System.Waf.Applications.DelegateCommand.Execute C# (CSharp) Method

Execute() public method

Defines the method to be called when the command is invoked.
public Execute ( object parameter ) : void
parameter object Data used by the command. If the command does not require data to be passed, this object can be set to null.
return void
        public void Execute(object parameter)
        {
            if (!CanExecute(parameter))
            {
                return;
            }

            execute(parameter);
        }