App1.DelegateCommand.DelegateCommand C# (CSharp) Method

DelegateCommand() public method

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