Пример #1
0
        public KeyValuePair <bool, List <string> > Or(ReasoningFilter filter)
        {
            List <string> reasons = new List <string> {
                Reason, filter.Reason
            };

            return(new KeyValuePair <bool, List <string> >(FailureFound || filter.FailureFound, reasons));
        }
Пример #2
0
 public KeyValuePair<bool, List<string>> Or(ReasoningFilter filter)
 {
     List<string> reasons = new List<string>{ Reason, filter.Reason };
     return new KeyValuePair<bool, List<string>>(FailureFound || filter.FailureFound, reasons);
 }