Esempio n. 1
0
 public QuestionnaireSectionArray(List<QuestionnaireSection> mdo)
 {
     if (mdo == null || mdo.Count == 0)
     {
         count = 0;
         return;
     }
     sections = new QuestionnaireSectionTO[mdo.Count];
     for (int i = 0; i < mdo.Count; i++)
     {
         sections[i] = new QuestionnaireSectionTO(mdo[i]);
     }
     count = mdo.Count;
 }
Esempio n. 2
0
 public QuestionnaireSectionArray(List <QuestionnaireSection> mdo)
 {
     if (mdo == null || mdo.Count == 0)
     {
         count = 0;
         return;
     }
     sections = new QuestionnaireSectionTO[mdo.Count];
     for (int i = 0; i < mdo.Count; i++)
     {
         sections[i] = new QuestionnaireSectionTO(mdo[i]);
     }
     count = mdo.Count;
 }