Example #1
0
 public bool Accepts(IEvent eventTrigger)
 {
     return(eventTrigger is AppTitleChanged appTitleChanged &&
            _nameAcceptor.Accepts(appTitleChanged.Name) &&
            _titleAcceptor.Accepts(appTitleChanged.Title));
 }
Example #2
0
 public bool Accepts(TValue input)
 {
     return(!_acceptor.Accepts(input));
 }
Example #3
0
 public bool Check()
 {
     return(_acceptor.Accepts(_requestEvaluator.Evaluate(_request)));
 }
Example #4
0
 public bool Accepts(IEvent eventTrigger)
 {
     return(eventTrigger is AppRunEvent appRunEvent &&
            _nameAcceptor.Accepts(appRunEvent.Name) &&
            _runningAcceptor.Accepts(appRunEvent.Running));
 }