Пример #1
0
        public FailureMessages Merge(FailureMessages failure)
        {
            var result = this;

            foreach (var f in failure.All <FailureMessage>())
            {
                result = result.With(f);
            }

            return(result);
        }
Пример #2
0
 public Failure(TokenStream unparsedTokens, FailureMessages messages)
     : base(unparsedTokens, messages)
 {
 }
Пример #3
0
 private FailureMessages(FailureMessage head, FailureMessages tail)
 {
     this.head = head;
     this.tail = tail;
 }
Пример #4
0
 private FailureMessages()
 {
     head = null;
     tail = null;
 }