Esempio n. 1
0
        public Result <T> GetNextResult()
        {
            if (m_nextResult == null)
            {
                m_nextResult          = m_nextResultFuture();
                m_nextResult.MyErrors =
                    MyErrors.Concat(m_nextResult.MyErrors);
                if (m_error != null)
                {
                    m_nextResult.MyErrors =
                        m_nextResult.MyErrors.Concat(new[] { m_error });
                }
            }

            return(m_nextResult);
        }