PortablePrism.Portable by Andrii Chebukin

<PackageReference Include="PortablePrism.Portable" Version="1.0.1" />

 DelegateCommand

An ICommand whose delegates do not take any parameters for Execute and CanExecute.
public DelegateCommand(Action executeMethod)

Creates a new instance of DelegateCommand with the Action to invoke on execution.

public DelegateCommand(Action executeMethod, Func<bool> canExecuteMethod)

Creates a new instance of DelegateCommand with the Action to invoke on execution and a Func to query for determining if the command can execute.

public bool CanExecute()

Determines if the command can be executed.

public void Execute()

Executes the command.