/// <summary>
 /// Initializes a new instance of the LMSDomainCoreModelsCourse class.
 /// </summary>
 public LMSDomainCoreModelsCourse(string accessCode = default(string), string name = default(string), System.DateTime?startDate = default(System.DateTime?), System.DateTime?endDate = default(System.DateTime?), System.DateTime?publishedDate = default(System.DateTime?), int?parentId = default(int?), LMSDomainCoreModelsCourseGroup courseGroup = default(LMSDomainCoreModelsCourseGroup), int?copiedFromCourseId = default(int?), double?rating = default(double?), int?numberOfRaters = default(int?), int?status = default(int?), string stringId = default(string), int?maxCapacity = default(int?), int?joiningSettings = default(int?), string location = default(string), bool?isFinalAssessmentCreated = default(bool?), bool?isFinalAssessmentPublished = default(bool?), int?pushedFromCourseId = default(int?), int?creditHours = default(int?), bool?isDeleted = default(bool?), int?adminId = default(int?), bool?isArchived = default(bool?), System.DateTime?creationDate = default(System.DateTime?), int?createdBy = default(int?), System.DateTime?lastModificationDate = default(System.DateTime?), int?modifiedBy = default(int?), int?id = default(int?))
 {
     AccessCode                 = accessCode;
     Name                       = name;
     StartDate                  = startDate;
     EndDate                    = endDate;
     PublishedDate              = publishedDate;
     ParentId                   = parentId;
     CourseGroup                = courseGroup;
     CopiedFromCourseId         = copiedFromCourseId;
     Rating                     = rating;
     NumberOfRaters             = numberOfRaters;
     Status                     = status;
     StringId                   = stringId;
     MaxCapacity                = maxCapacity;
     JoiningSettings            = joiningSettings;
     Location                   = location;
     IsFinalAssessmentCreated   = isFinalAssessmentCreated;
     IsFinalAssessmentPublished = isFinalAssessmentPublished;
     PushedFromCourseId         = pushedFromCourseId;
     CreditHours                = creditHours;
     IsDeleted                  = isDeleted;
     AdminId                    = adminId;
     IsArchived                 = isArchived;
     CreationDate               = creationDate;
     CreatedBy                  = createdBy;
     LastModificationDate       = lastModificationDate;
     ModifiedBy                 = modifiedBy;
     Id = id;
     CustomInit();
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the
 /// LMSApplicationCoreViewModelUpdateCourseViewModel class.
 /// </summary>
 public LMSApplicationCoreViewModelUpdateCourseViewModel(LMSDomainCoreModelsCourseGroup courseGroup = default(LMSDomainCoreModelsCourseGroup), int?courseRequestsCount = default(int?), int?maxCapacity = default(int?), string location = default(string), int?creditHours = default(int?), int?originalCourseCreditHours = default(int?))
 {
     CourseGroup               = courseGroup;
     CourseRequestsCount       = courseRequestsCount;
     MaxCapacity               = maxCapacity;
     Location                  = location;
     CreditHours               = creditHours;
     OriginalCourseCreditHours = originalCourseCreditHours;
     CustomInit();
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the
 /// LMSApplicationCoreViewModelCourseViewModel class.
 /// </summary>
 public LMSApplicationCoreViewModelCourseViewModel(int?selectedCourseId = default(int?), LMSDomainCoreModelsCourseGroup course = default(LMSDomainCoreModelsCourseGroup), string instructorName = default(string), int?studentsCount = default(int?), string courseImageUrl = default(string), string instructorProfilePictureUrlSmall = default(string), int?instructorId = default(int?), int?joiningType = default(int?), bool?hasRequests = default(bool?), bool?isAutoAccept = default(bool?), double?rate = default(double?), bool?isPinned = default(bool?), int?type = default(int?), bool?isLearningPathsEnabled = default(bool?), string learningPathTheme = default(string), bool?isShowLearnersProgress = default(bool?), int?courseRequestsCount = default(int?), int?status = default(int?), IList <LMSDomainCoreModelsCourse> courses = default(IList <LMSDomainCoreModelsCourse>), bool?isCourseGamificationEnabled = default(bool?), int?maxCapacity = default(int?), bool?isCertificateEnabled = default(bool?), string location = default(string), bool?isVideoBased = default(bool?), bool?isCanPlayCourse = default(bool?), string videoCoverUrl = default(string), bool?isCanResumeCourse = default(bool?), string resumeCourseMaterialId = default(string), bool?isPushed = default(bool?), int?creditHours = default(int?), int?originalCourseCreditHours = default(int?), bool?isEnableAttendance = default(bool?))
 {
     SelectedCourseId = selectedCourseId;
     Course           = course;
     InstructorName   = instructorName;
     StudentsCount    = studentsCount;
     CourseImageUrl   = courseImageUrl;
     InstructorProfilePictureUrlSmall = instructorProfilePictureUrlSmall;
     InstructorId                = instructorId;
     JoiningType                 = joiningType;
     HasRequests                 = hasRequests;
     IsAutoAccept                = isAutoAccept;
     Rate                        = rate;
     IsPinned                    = isPinned;
     Type                        = type;
     IsLearningPathsEnabled      = isLearningPathsEnabled;
     LearningPathTheme           = learningPathTheme;
     IsShowLearnersProgress      = isShowLearnersProgress;
     CourseRequestsCount         = courseRequestsCount;
     Status                      = status;
     Courses                     = courses;
     IsCourseGamificationEnabled = isCourseGamificationEnabled;
     MaxCapacity                 = maxCapacity;
     IsCertificateEnabled        = isCertificateEnabled;
     Location                    = location;
     IsVideoBased                = isVideoBased;
     IsCanPlayCourse             = isCanPlayCourse;
     VideoCoverUrl               = videoCoverUrl;
     IsCanResumeCourse           = isCanResumeCourse;
     ResumeCourseMaterialId      = resumeCourseMaterialId;
     IsPushed                    = isPushed;
     CreditHours                 = creditHours;
     OriginalCourseCreditHours   = originalCourseCreditHours;
     IsEnableAttendance          = isEnableAttendance;
     CustomInit();
 }