Esempio n. 1
0
        public IssueStatuses Handle(IssueStatuses status)
        {
            if (_nextHandler == null)
            {
                throw new ArgumentException($"Status {status} is not processable");
            }

            return(status == ProcessableStatus ?
                   _nextHandler.ProcessableStatus :
                   _nextHandler.Handle(status));
        }
Esempio n. 2
0
 public IssueStatuses HandleStatus(IssueStatuses status)
 {
     return(_initialStatusHandler.Handle(status));
 }