internal void BuildRelatedQuestionTab(RelatedQuestionInfoData questionInfoData, SETS set, CSET_Context controlContext)
 {
     BuildFromNewQuestion(questionInfoData, set, controlContext);
     ShowRelatedFrameworkCategory  = true;
     ShowRequirementFrameworkTitle = true;
     RelatedFrameworkCategory      = questionInfoData.Category;
 }
Exemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="questionInfoData"></param>
        /// <returns></returns>
        internal List <QuestionInformationTabData> CreateRelatedQuestionInformationTab(RelatedQuestionInfoData questionInfoData)
        {
            List <QuestionInformationTabData> tempTabDataList = new List <QuestionInformationTabData>();

            foreach (var set in questionInfoData.Sets)
            {
                QuestionInformationTabData tab = new QuestionInformationTabData();
                tab.BuildRelatedQuestionTab(questionInfoData, set.Value, DataContext);
                tempTabDataList.Add(tab);
            }
            return(tempTabDataList);
        }