Captura.DelegateCommand.DelegateCommand C# (CSharp) 메소드

DelegateCommand() 공개 메소드

public DelegateCommand ( System.Action OnExecute, Func OnCanExecute = null ) : System
OnExecute System.Action
OnCanExecute Func
리턴 System
        public DelegateCommand(Action OnExecute, Func<bool> OnCanExecute = null)
        {
            _execute = OnExecute;
            _canExecute = OnCanExecute;
        }