Пример #1
0
 /// <summary>
 /// Initializes a new instance of the LMSDomainCoreModelsCourseView
 /// class.
 /// </summary>
 public LMSDomainCoreModelsCourseView(int?id = default(int?), string name = default(string), LMSDomainCoreModelsGrade minGrade = default(LMSDomainCoreModelsGrade), LMSDomainCoreModelsGrade maxGrade = default(LMSDomainCoreModelsGrade), LMSDomainCoreModelsSubjectArea subjectArea = default(LMSDomainCoreModelsSubjectArea), string courseImageUrl = default(string), string accessCode = default(string), bool?isPinned = default(bool?), int?learnersCount = default(int?), double?rate = default(double?), string role = default(string), int?type = default(int?), int?status = default(int?), int?joiningType = default(int?), int?instructorId = default(int?), string instructorName = default(string), string videoUrl = default(string), bool?isPlayCourse = default(bool?), bool?isResumeCourse = default(bool?), string lastViewedMaterial = default(string), string playedCourseId = default(string), IList <LMSDomainCoreModelsRoundBaseViewModel> courseRounds = default(IList <LMSDomainCoreModelsRoundBaseViewModel>), string courseImageFileId = default(string))
 {
     Id                 = id;
     Name               = name;
     MinGrade           = minGrade;
     MaxGrade           = maxGrade;
     SubjectArea        = subjectArea;
     CourseImageUrl     = courseImageUrl;
     AccessCode         = accessCode;
     IsPinned           = isPinned;
     LearnersCount      = learnersCount;
     Rate               = rate;
     Role               = role;
     Type               = type;
     Status             = status;
     JoiningType        = joiningType;
     InstructorId       = instructorId;
     InstructorName     = instructorName;
     VideoUrl           = videoUrl;
     IsPlayCourse       = isPlayCourse;
     IsResumeCourse     = isResumeCourse;
     LastViewedMaterial = lastViewedMaterial;
     PlayedCourseId     = playedCourseId;
     CourseRounds       = courseRounds;
     CourseImageFileId  = courseImageFileId;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// LMSApplicationCoreViewModelCourseInfoViewModel class.
 /// </summary>
 public LMSApplicationCoreViewModelCourseInfoViewModel(int?courseId = default(int?), string about = default(string), string name = default(string), double?numberOfRaters = default(double?), double?rate = default(double?), string objectivies = default(string), string type = default(string), IList <LMSDomainCoreModelsCourse> courses = default(IList <LMSDomainCoreModelsCourse>), IList <LMSApplicationCoreViewModelUserCourseViewModel> userCourses = default(IList <LMSApplicationCoreViewModelUserCourseViewModel>), IList <string> tracks = default(IList <string>), IList <LMSApplicationCoreViewModelPrerequisitesViewModel> prerequists = default(IList <LMSApplicationCoreViewModelPrerequisitesViewModel>), LMSApplicationCoreViewModelInstructorViewModel instructor = default(LMSApplicationCoreViewModelInstructorViewModel), IList <LMSApplicationCoreViewModelInstructorViewModel> instructors = default(IList <LMSApplicationCoreViewModelInstructorViewModel>), IList <LMSDomainCoreModelsGrade> grade = default(IList <LMSDomainCoreModelsGrade>), int?studentsOnAllRoundsCount = default(int?), LMSDomainCoreModelsSubjectArea subject = default(LMSDomainCoreModelsSubjectArea), string objectiveFileId = default(string), string objectiveFileName = default(string), bool?isObjectiveContainsImage = default(bool?), string objectiveFileContentType = default(string), string objectiveFilePlayURL = default(string), string objectiveFileUri = default(string), string objectiveBlobName = default(string), bool?objectiveFileUnableToPlayOfficeDocument = default(bool?))
 {
     CourseId                 = courseId;
     About                    = about;
     Name                     = name;
     NumberOfRaters           = numberOfRaters;
     Rate                     = rate;
     Objectivies              = objectivies;
     Type                     = type;
     Courses                  = courses;
     UserCourses              = userCourses;
     Tracks                   = tracks;
     Prerequists              = prerequists;
     Instructor               = instructor;
     Instructors              = instructors;
     Grade                    = grade;
     StudentsOnAllRoundsCount = studentsOnAllRoundsCount;
     Subject                  = subject;
     ObjectiveFileId          = objectiveFileId;
     ObjectiveFileName        = objectiveFileName;
     IsObjectiveContainsImage = isObjectiveContainsImage;
     ObjectiveFileContentType = objectiveFileContentType;
     ObjectiveFilePlayURL     = objectiveFilePlayURL;
     ObjectiveFileUri         = objectiveFileUri;
     ObjectiveBlobName        = objectiveBlobName;
     ObjectiveFileUnableToPlayOfficeDocument = objectiveFileUnableToPlayOfficeDocument;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the LMSDomainCoreModelsCourseGroup
 /// class.
 /// </summary>
 public LMSDomainCoreModelsCourseGroup(string name = default(string), string description = default(string), string about = default(string), int?subjectId = default(int?), LMSDomainCoreModelsSubjectArea subject = default(LMSDomainCoreModelsSubjectArea), int?courseImageId = default(int?), LMSDomainCoreModelsCourseImage courseImage = default(LMSDomainCoreModelsCourseImage), IList <LMSDomainCoreModelsGrade> courseGrades = default(IList <LMSDomainCoreModelsGrade>), int?joiningType = default(int?), bool?isAutoAccept = default(bool?), int?type = default(int?), string objectivies = default(string), bool?isLearningPathsEnabled = default(bool?), bool?isCourseGamificationEnabled = default(bool?), string learningPathTheme = default(string), bool?removeThemeBackground = default(bool?), bool?isShowLearnersProgress = default(bool?), int?adminId = default(int?), double?rating = default(double?), int?numberOfRaters = default(int?), int?completionCriteria = default(int?), bool?hasPublishedCourses = default(bool?), bool?isCertificateEnabled = default(bool?), bool?isVideoBased = default(bool?), int?copiedFromCourseGroupId = default(int?), string organizationId = default(string), string organizationSchoolId = default(string), bool?isPushed = default(bool?), string videoCoverUrl = default(string), bool?isSessionsLocked = default(bool?), string courseImageFileId = default(string), string courseImageFileSize = default(string), string courseImageFileName = default(string), bool?isDeleted = default(bool?), System.DateTime?launchedDate = default(System.DateTime?), string objectiveFileId = default(string), bool?isEnableAttendance = 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?))
 {
     Name                        = name;
     Description                 = description;
     About                       = about;
     SubjectId                   = subjectId;
     Subject                     = subject;
     CourseImageId               = courseImageId;
     CourseImage                 = courseImage;
     CourseGrades                = courseGrades;
     JoiningType                 = joiningType;
     IsAutoAccept                = isAutoAccept;
     Type                        = type;
     Objectivies                 = objectivies;
     IsLearningPathsEnabled      = isLearningPathsEnabled;
     IsCourseGamificationEnabled = isCourseGamificationEnabled;
     LearningPathTheme           = learningPathTheme;
     RemoveThemeBackground       = removeThemeBackground;
     IsShowLearnersProgress      = isShowLearnersProgress;
     AdminId                     = adminId;
     Rating                      = rating;
     NumberOfRaters              = numberOfRaters;
     CompletionCriteria          = completionCriteria;
     HasPublishedCourses         = hasPublishedCourses;
     IsCertificateEnabled        = isCertificateEnabled;
     IsVideoBased                = isVideoBased;
     CopiedFromCourseGroupId     = copiedFromCourseGroupId;
     OrganizationId              = organizationId;
     OrganizationSchoolId        = organizationSchoolId;
     IsPushed                    = isPushed;
     VideoCoverUrl               = videoCoverUrl;
     IsSessionsLocked            = isSessionsLocked;
     CourseImageFileId           = courseImageFileId;
     CourseImageFileSize         = courseImageFileSize;
     CourseImageFileName         = courseImageFileName;
     IsDeleted                   = isDeleted;
     LaunchedDate                = launchedDate;
     ObjectiveFileId             = objectiveFileId;
     IsEnableAttendance          = isEnableAttendance;
     CreationDate                = creationDate;
     CreatedBy                   = createdBy;
     LastModificationDate        = lastModificationDate;
     ModifiedBy                  = modifiedBy;
     Id = id;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the LMSDomainCoreModelsUserSpacesView
 /// class.
 /// </summary>
 public LMSDomainCoreModelsUserSpacesView(string spaceId = default(string), string name = default(string), string description = default(string), LMSDomainCoreModelsSpacesSpaceArea spaceType = default(LMSDomainCoreModelsSpacesSpaceArea), LMSDomainCoreModelsSubjectArea spaceSubjectArea = default(LMSDomainCoreModelsSubjectArea), int?areaId = default(int?), int?subjectId = default(int?), long?membersCount = default(long?), bool?isOwner = default(bool?), string imageUrl = default(string), string imageId = default(string), string imageThumbnail = default(string), string theme = default(string), string creatorName = default(string), bool?isStudentsAllowToFind = default(bool?), bool?isDeleted = default(bool?), bool?isMember = default(bool?), bool?studentCanViewSpace = default(bool?))
 {
     SpaceId               = spaceId;
     Name                  = name;
     Description           = description;
     SpaceType             = spaceType;
     SpaceSubjectArea      = spaceSubjectArea;
     AreaId                = areaId;
     SubjectId             = subjectId;
     MembersCount          = membersCount;
     IsOwner               = isOwner;
     ImageUrl              = imageUrl;
     ImageId               = imageId;
     ImageThumbnail        = imageThumbnail;
     Theme                 = theme;
     CreatorName           = creatorName;
     IsStudentsAllowToFind = isStudentsAllowToFind;
     IsDeleted             = isDeleted;
     IsMember              = isMember;
     StudentCanViewSpace   = studentCanViewSpace;
     CustomInit();
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the
 /// LMSApplicationCoreViewModelTrackCourseViewModel class.
 /// </summary>
 public LMSApplicationCoreViewModelTrackCourseViewModel(int?id = default(int?), string name = default(string), LMSDomainCoreModelsGrade minGrade = default(LMSDomainCoreModelsGrade), LMSDomainCoreModelsGrade maxGrade = default(LMSDomainCoreModelsGrade), LMSDomainCoreModelsSubjectArea subjectArea = default(LMSDomainCoreModelsSubjectArea), int?role = default(int?), int?courseImageId = default(int?), string courseImageUrl = default(string), int?joiningType = default(int?), int?learnersCount = default(int?), bool?isMember = default(bool?), double?rate = default(double?), int?type = default(int?), bool?isRequested = default(bool?), int?instructorId = default(int?), string instructorName = default(string), int?status = default(int?), string videoUrl = default(string), string courseImageFileId = default(string))
 {
     Id                = id;
     Name              = name;
     MinGrade          = minGrade;
     MaxGrade          = maxGrade;
     SubjectArea       = subjectArea;
     Role              = role;
     CourseImageId     = courseImageId;
     CourseImageUrl    = courseImageUrl;
     JoiningType       = joiningType;
     LearnersCount     = learnersCount;
     IsMember          = isMember;
     Rate              = rate;
     Type              = type;
     IsRequested       = isRequested;
     InstructorId      = instructorId;
     InstructorName    = instructorName;
     Status            = status;
     VideoUrl          = videoUrl;
     CourseImageFileId = courseImageFileId;
     CustomInit();
 }