VersionrUI.Commands.DelegateCommand.DelegateCommand C# (CSharp) Method

DelegateCommand() public method

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