Table of Contents

Class RelayCommand

Namespace
Playnite.SDK
Assembly
Playnite.SDK.dll
public class RelayCommand : RelayCommandBase, ICommand
Inheritance
RelayCommand
Implements
Inherited Members

Constructors

RelayCommand(Action)

public RelayCommand(Action execute)

Parameters

execute Action

RelayCommand(Action, Func<bool>)

public RelayCommand(Action execute, Func<bool> canExecute)

Parameters

execute Action
canExecute Func<bool>

RelayCommand(Action, Func<bool>, KeyGesture)

public RelayCommand(Action execute, Func<bool> canExecute, KeyGesture gesture)

Parameters

execute Action
canExecute Func<bool>
gesture KeyGesture

RelayCommand(Action, KeyGesture)

public RelayCommand(Action execute, KeyGesture gesture)

Parameters

execute Action
gesture KeyGesture

Methods

CanExecute(object)

public override bool CanExecute(object parameter = null)

Parameters

parameter object

Returns

bool

Execute(object)

public override void Execute(object parameter = null)

Parameters

parameter object