Example #1
0
 public DelegateCourseDetails(
     DelegateCourseInfo delegateCourseInfo,
     List <CustomPromptWithAnswer> customPrompts,
     AttemptStats attemptStats
     )
 {
     DelegateCourseInfo = delegateCourseInfo;
     CustomPrompts      = customPrompts;
     AttemptStats       = attemptStats;
 }
 public DelegateCourseInfo(DelegateCourseInfo delegateCourseInfo) : base(delegateCourseInfo)
 {
     CustomisationId       = delegateCourseInfo.CustomisationId;
     CourseCategoryId      = delegateCourseInfo.CourseCategoryId;
     IsAssessed            = delegateCourseInfo.IsAssessed;
     CustomisationCentreId = delegateCourseInfo.CustomisationCentreId;
     IsCourseActive        = delegateCourseInfo.IsCourseActive;
     AllCentresCourse      = delegateCourseInfo.AllCentresCourse;
     ProgressId            = delegateCourseInfo.ProgressId;
     IsProgressLocked      = delegateCourseInfo.IsProgressLocked;
     LastUpdated           = delegateCourseInfo.LastUpdated;
     CompleteBy            = delegateCourseInfo.CompleteBy;
     RemovedDate           = delegateCourseInfo.RemovedDate;
     Completed             = delegateCourseInfo.Completed;
     Evaluated             = delegateCourseInfo.Evaluated;
     LoginCount            = delegateCourseInfo.LoginCount;
     LearningTime          = delegateCourseInfo.LearningTime;
     DiagnosticScore       = delegateCourseInfo.DiagnosticScore;
     Answer1                        = delegateCourseInfo.Answer1;
     Answer2                        = delegateCourseInfo.Answer2;
     Answer3                        = delegateCourseInfo.Answer3;
     AllAttempts                    = delegateCourseInfo.AllAttempts;
     AttemptsPassed                 = delegateCourseInfo.AttemptsPassed;
     Enrolled                       = delegateCourseInfo.Enrolled;
     EnrolmentMethodId              = delegateCourseInfo.EnrolmentMethodId;
     EnrolledByForename             = delegateCourseInfo.EnrolledByForename;
     EnrolledBySurname              = delegateCourseInfo.EnrolledBySurname;
     EnrolledByAdminActive          = delegateCourseInfo.EnrolledByAdminActive;
     SupervisorAdminId              = delegateCourseInfo.SupervisorAdminId;
     SupervisorForename             = delegateCourseInfo.SupervisorForename;
     SupervisorSurname              = delegateCourseInfo.SupervisorSurname;
     SupervisorAdminActive          = delegateCourseInfo.SupervisorAdminActive;
     DelegateId                     = delegateCourseInfo.DelegateId;
     CandidateNumber                = delegateCourseInfo.CandidateNumber;
     DelegateFirstName              = delegateCourseInfo.DelegateFirstName;
     DelegateLastName               = delegateCourseInfo.DelegateLastName;
     DelegateEmail                  = delegateCourseInfo.DelegateEmail;
     IsDelegateActive               = delegateCourseInfo.IsDelegateActive;
     HasBeenPromptedForPrn          = delegateCourseInfo.HasBeenPromptedForPrn;
     ProfessionalRegistrationNumber = delegateCourseInfo.ProfessionalRegistrationNumber;
     DelegateCentreId               = delegateCourseInfo.DelegateCentreId;
     CourseAdminFields              = delegateCourseInfo.CourseAdminFields;
 }