public DelegateCommand(Action exec, Func<bool> canExec = null) { this.execute = exec; this.canExecute = canExec; }