コード例 #1
0
 public QuestionnaireSubsectionArray(List <QuestionnaireSubsection> mdo)
 {
     if (mdo == null || mdo.Count == 0)
     {
         count = 0;
         return;
     }
     subsections = new QuestionnaireSubsectionTO[mdo.Count];
     for (int i = 0; i < mdo.Count; i++)
     {
         subsections[i] = new QuestionnaireSubsectionTO(mdo[i]);
     }
     count = mdo.Count;
 }
コード例 #2
0
 public QuestionnaireSubsectionArray(List<QuestionnaireSubsection> mdo)
 {
     if (mdo == null || mdo.Count == 0)
     {
         count = 0;
         return;
     }
     subsections = new QuestionnaireSubsectionTO[mdo.Count];
     for (int i = 0; i < mdo.Count; i++)
     {
         subsections[i] = new QuestionnaireSubsectionTO(mdo[i]);
     }
     count = mdo.Count;
 }