Microsoft.HockeyApp.Common.RelayCommand.Execute C# (CSharp) Méthode

Execute() public méthode

Executes the RelayCommand on the current command target.
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. ///
Résultat void
        public void Execute(object parameter)
        {
            if (_executeWithParm != null)
            {
                _executeWithParm(parameter);
            }
            else
            {
                _execute();
            }
        }