Example #1
0
 /// <summary>
 /// Initializes a new instance of the LMSDomainCoreModelsSession class.
 /// </summary>
 public LMSDomainCoreModelsSession(string title, string objectives, int duration, int courseId, bool isActive, bool isCopied, bool isVisited, System.DateTime?date = default(System.DateTime?), System.DateTime?lastActivationDate = default(System.DateTime?), int?lastActivatedBy = default(int?), LMSDomainCoreModelsCourse course = default(LMSDomainCoreModelsCourse), LMSDomainCoreModelsCourse copiedFromCourse = default(LMSDomainCoreModelsCourse), int?copiedFromId = default(int?), int?type = default(int?), string objectiveFileId = default(string), int?approvedBy = default(int?), LMSDomainCoreModelsUser approvedByUser = default(LMSDomainCoreModelsUser), System.DateTime?approvalDate = default(System.DateTime?), string stringId = default(string), System.DateTime?creationDate = default(System.DateTime?), int?createdBy = default(int?), System.DateTime?lastModificationDate = default(System.DateTime?), int?modifiedBy = default(int?), string id = default(string))
 {
     Title                = title;
     Objectives           = objectives;
     Duration             = duration;
     Date                 = date;
     LastActivationDate   = lastActivationDate;
     LastActivatedBy      = lastActivatedBy;
     CourseId             = courseId;
     Course               = course;
     IsActive             = isActive;
     IsCopied             = isCopied;
     IsVisited            = isVisited;
     CopiedFromCourse     = copiedFromCourse;
     CopiedFromId         = copiedFromId;
     Type                 = type;
     ObjectiveFileId      = objectiveFileId;
     ApprovedBy           = approvedBy;
     ApprovedByUser       = approvedByUser;
     ApprovalDate         = approvalDate;
     StringId             = stringId;
     CreationDate         = creationDate;
     CreatedBy            = createdBy;
     LastModificationDate = lastModificationDate;
     ModifiedBy           = modifiedBy;
     Id = id;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// LMSApplicationCoreViewModelSessionViewModel class.
 /// </summary>
 public LMSApplicationCoreViewModelSessionViewModel(string id = default(string), bool?isActive = default(bool?), bool?isLocked = default(bool?), bool?hasAsmWithPassingScore = default(bool?), string title = default(string), bool?isCopied = default(bool?), bool?isVisited = default(bool?), System.DateTime?date = default(System.DateTime?), int?duration = default(int?), System.DateTime?creationDate = default(System.DateTime?), LMSDomainCoreModelsCourse copiedFromCourse = default(LMSDomainCoreModelsCourse), string copiedFromCourseGroupName = default(string), LMSApplicationCoreViewModelVoiceNoteViewModel voiceNote = default(LMSApplicationCoreViewModelVoiceNoteViewModel), IList <LMSApplicationCoreViewModelMaterialDetailsViewModel> materials = default(IList <LMSApplicationCoreViewModelMaterialDetailsViewModel>), bool?isSessionsLockedInCourse = default(bool?), bool?isEnableAttendance = default(bool?))
 {
     Id       = id;
     IsActive = isActive;
     IsLocked = isLocked;
     HasAsmWithPassingScore = hasAsmWithPassingScore;
     Title                     = title;
     IsCopied                  = isCopied;
     IsVisited                 = isVisited;
     Date                      = date;
     Duration                  = duration;
     CreationDate              = creationDate;
     CopiedFromCourse          = copiedFromCourse;
     CopiedFromCourseGroupName = copiedFromCourseGroupName;
     VoiceNote                 = voiceNote;
     Materials                 = materials;
     IsSessionsLockedInCourse  = isSessionsLockedInCourse;
     IsEnableAttendance        = isEnableAttendance;
     CustomInit();
 }