in GameOfLife/EmulateExternalLib/DelegateCommand.cs [26:37]
public DelegateCommand([NotNull] Action execute, Func<bool> canExecute = null)
{
if (execute == null)
{
throw new ArgumentNullException("execute");
}
myExecute = _ => execute();
myCanExecute = canExecute != null
? _ => canExecute()
: (Predicate<object>) null;
}