Dear Sir/Madam,
i am new in MVVM-WPF, In the method given below------
public BaseCommand(Action command, Func<bool> canExecute = null)
{
if (command == null)
throw new ArgumentNullException("command");
_canExecute = canExecute;
_command = command;
}
there is two argument is accepted but on the colling side, it called like in this way--
public ICommand ClickCommand
{
get
{
return new BaseCommand(Click);
}
}
By passing only one argument instead of two,
How its working..............
Please help me !