protected virtual IEnumerable <TOutputMsg> ProcessInner(IEnumerable <TInputMsg> inputMsgs, out bool hasErrors) { hasErrors = false; var decoratedInputMsgs = DecorateInputMessages(inputMsgs); //Now process the inner... we have decorated the messages... return(InnerTask.Process(decoratedInputMsgs)); }