Ejemplo n.º 1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public QuestionSubmissionResult(
     int questionId,
     int assignmentId,
     int userId,
     DateTime submissionDate,
     SubmissionStatus status,
     double score,
     double questionPoints)
 {
     QuestionId     = questionId;
     AssignmentId   = assignmentId;
     UserId         = userId;
     SubmissionDate = submissionDate;
     Status         = status;
     Score          = score;
     QuestionPoints = questionPoints;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 protected AssignmentResult(
     string assignmentName,
     int assignmentId,
     int userId,
     DateTime?assignmentDueDate,
     double score,
     double totalPoints,
     SubmissionStatus status)
 {
     AssignmentName    = assignmentName;
     AssignmentId      = assignmentId;
     UserId            = userId;
     AssignmentDueDate = assignmentDueDate;
     Score             = score;
     TotalPoints       = totalPoints;
     Status            = status;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public AssignmentGroupResult(
     string assignmentGroupName,
     string lastName,
     string firstName,
     double score,
     double totalPoints,
     IList <AssignmentResult> assignmentResults,
     SubmissionStatus status)
 {
     AssignmentGroupName = assignmentGroupName;
     LastName            = lastName;
     FirstName           = firstName;
     Score             = score;
     TotalPoints       = totalPoints;
     AssignmentResults = assignmentResults;
     Status            = status;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public AssignmentSubmissionResult(
     int assignmentId,
     int userId,
     DateTime submissionDate,
     SubmissionStatus status,
     double score,
     double assignmentPoints,
     IList <StudentQuestionResult> questionResults)
 {
     AssignmentId     = assignmentId;
     UserId           = userId;
     SubmissionDate   = submissionDate;
     Status           = status;
     Score            = score;
     AssignmentPoints = assignmentPoints;
     QuestionResults  = questionResults;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public StudentQuestionResult(
     int questionId,
     int assignmentId,
     int userId,
     bool combinedSubmissions,
     string questionName,
     double questionPoints,
     double score,
     SubmissionStatus status,
     IList <QuestionSubmissionResult> submissionResults)
 {
     QuestionId          = questionId;
     AssignmentId        = assignmentId;
     UserId              = userId;
     CombinedSubmissions = combinedSubmissions;
     QuestionName        = questionName;
     QuestionPoints      = questionPoints;
     Score             = score;
     Status            = status;
     SubmissionResults = submissionResults;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public CombinedSubmissionsAssignmentResult(
     string assignmentName,
     int assignmentId,
     int userId,
     DateTime?assignmentDueDate,
     double score,
     double totalPoints,
     SubmissionStatus status,
     IList <AssignmentSubmissionResult> assignmentSubmissionResults) :
     base
     (
         assignmentName,
         assignmentId,
         userId,
         assignmentDueDate,
         score,
         totalPoints,
         status
     )
 {
     AssignmentSubmissionResults = assignmentSubmissionResults;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public SeparateSubmissionsAssignmentResult(
     string assignmentName,
     int assignmentId,
     int userId,
     DateTime?assignmentDueDate,
     double score,
     double totalPoints,
     SubmissionStatus status,
     IList <StudentQuestionResult> questionResults) :
     base
     (
         assignmentName,
         assignmentId,
         userId,
         assignmentDueDate,
         score,
         totalPoints,
         status
     )
 {
     QuestionResults = questionResults;
 }