Beispiel #1
0
		public EdxCourse(string courseId, string organization, string courseTitle, string[] advancedModules, string[] ltiPassports, Chapter[] chapters)
		{
			CourseName = courseId;
			UrlName = courseId;
			Organization = organization;
			CourseWithChapters = new CourseWithChapters(courseId, courseTitle, advancedModules, ltiPassports, true, chapters);
			StaticFiles = Directory.GetFiles(string.Format("{0}/static", Utils.GetRootDirectory()));
		}
Beispiel #2
0
 public EdxCourse(string courseId, string organization, string courseTitle, string[] advancedModules, string[] ltiPassports, Chapter[] chapters)
 {
     CourseName         = courseId;
     UrlName            = courseId;
     Organization       = organization;
     CourseWithChapters = new CourseWithChapters(courseId, courseTitle, advancedModules, ltiPassports, true, chapters);
     StaticFiles        = Directory.GetFiles($"{Utils.GetRootDirectory()}/static");
 }