Catrobat.IDE.Core.ViewModels.AsyncRelayCommand.ExecuteAsync C# (CSharp) Method

ExecuteAsync() public method

public ExecuteAsync ( object parameter ) : System.Threading.Tasks.Task
parameter object
return System.Threading.Tasks.Task
        public async Task ExecuteAsync(object parameter)
        {
            if (_executeWithParameter != null)
                await _executeWithParameter(parameter);

            if (_execute != null)
                await _execute();

            _finished.Invoke();
        }