예제 #1
0
        public void ReadQAs(StreamReader rawText)
        {
            categories = new List <QACategory>(10);
            RemoveNonessentialLines(rawText);

            while (false == rawText.EndOfStream)
            {
                QACategory temp = new QACategory(rawText);
                categories.Add(temp);
                RemoveNonessentialLines(rawText);
            }
        }
예제 #2
0
        public void ReadQAs(StreamReader rawText)
        {
            categories = new List<QACategory>(10);
            RemoveNonessentialLines(rawText);

            while(false == rawText.EndOfStream)
            {
                QACategory temp = new QACategory(rawText);
                categories.Add(temp);
                RemoveNonessentialLines(rawText);
            }
        }