System.Waf.Applications.DelegateCommand.Execute C# (CSharp) Метод

Execute() публичный Метод

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.
Результат void
        public void Execute(object parameter)
        {
            if (!CanExecute(parameter))
            {
                return;
            }

            execute(parameter);
        }