Пример #1
0
        public PlanDesign(SchoolCurriculum curriculum)
        {
            CurriculumDesign result = new CurriculumDesign(curriculum);

            Curricula = new List <CurriculumDesign> {
                result
            };
        }
Пример #2
0
 public PlanDesign(SchoolCurriculum curriculum)
 {
     CurriculumDesign result = new CurriculumDesign(curriculum);
     Curricula = new List<CurriculumDesign> {result};
 }
Пример #3
0
 public static CurriculumNode FromCurriculumDesign(CurriculumDesign design)
 {
     CurriculumNode node = new CurriculumNode { Text = design.Name, IsChecked = design.Enabled, Description = design.Description };
     design.Tasks.Where(x => LearningTaskNode.FromLTDesign(x) != null).ToList().ForEach(x => node.Nodes.Add(LearningTaskNode.FromLTDesign(x)));
     return node;
 }