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