示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RuntimeSchema" /> class.
 /// </summary>
 /// <param name="completionStatus">completionStatus.</param>
 /// <param name="credit">credit.</param>
 /// <param name="entry">entry.</param>
 /// <param name="exit">exit.</param>
 /// <param name="learnerPreference">learnerPreference.</param>
 /// <param name="location">location.</param>
 /// <param name="mode">mode.</param>
 /// <param name="progressMeasure">progressMeasure.</param>
 /// <param name="scoreScaled">scoreScaled.</param>
 /// <param name="scoreRaw">scoreRaw.</param>
 /// <param name="scoreMin">scoreMin.</param>
 /// <param name="scoreMax">scoreMax.</param>
 /// <param name="totalTime">totalTime.</param>
 /// <param name="timeTracked">timeTracked.</param>
 /// <param name="runtimeSuccessStatus">runtimeSuccessStatus (default to RuntimeSuccessStatusEnum.UNKNOWN).</param>
 /// <param name="suspendData">suspendData.</param>
 /// <param name="learnerComments">learnerComments.</param>
 /// <param name="lmsComments">lmsComments.</param>
 /// <param name="runtimeInteractions">runtimeInteractions.</param>
 /// <param name="runtimeObjectives">runtimeObjectives.</param>
 public RuntimeSchema(string completionStatus = default(string), string credit = default(string), string entry = default(string), string exit = default(string), LearnerPreferenceSchema learnerPreference = default(LearnerPreferenceSchema), string location = default(string), string mode = default(string), string progressMeasure = default(string), string scoreScaled = default(string), string scoreRaw = default(string), string scoreMin = default(string), string scoreMax = default(string), string totalTime = default(string), string timeTracked = default(string), RuntimeSuccessStatusEnum?runtimeSuccessStatus = RuntimeSuccessStatusEnum.UNKNOWN, string suspendData = default(string), List <CommentSchema> learnerComments = default(List <CommentSchema>), List <CommentSchema> lmsComments = default(List <CommentSchema>), List <RuntimeInteractionSchema> runtimeInteractions = default(List <RuntimeInteractionSchema>), List <RuntimeObjectiveSchema> runtimeObjectives = default(List <RuntimeObjectiveSchema>))
 {
     this.CompletionStatus  = completionStatus;
     this.Credit            = credit;
     this.Entry             = entry;
     this.Exit              = exit;
     this.LearnerPreference = learnerPreference;
     this.Location          = location;
     this.Mode              = mode;
     this.ProgressMeasure   = progressMeasure;
     this.ScoreScaled       = scoreScaled;
     this.ScoreRaw          = scoreRaw;
     this.ScoreMin          = scoreMin;
     this.ScoreMax          = scoreMax;
     this.TotalTime         = totalTime;
     this.TimeTracked       = timeTracked;
     // use default value if no "runtimeSuccessStatus" provided
     if (runtimeSuccessStatus == null)
     {
         this.RuntimeSuccessStatus = RuntimeSuccessStatusEnum.UNKNOWN;
     }
     else
     {
         this.RuntimeSuccessStatus = runtimeSuccessStatus;
     }
     this.SuspendData         = suspendData;
     this.LearnerComments     = learnerComments;
     this.LmsComments         = lmsComments;
     this.RuntimeInteractions = runtimeInteractions;
     this.RuntimeObjectives   = runtimeObjectives;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RuntimeSchema" /> class.
 /// </summary>
 /// <param name="CompletionStatus">CompletionStatus.</param>
 /// <param name="Credit">Credit.</param>
 /// <param name="Entry">Entry.</param>
 /// <param name="Exit">Exit.</param>
 /// <param name="LearnerPreference">LearnerPreference.</param>
 /// <param name="Location">Location.</param>
 /// <param name="Mode">Mode.</param>
 /// <param name="ProgressMeasure">ProgressMeasure.</param>
 /// <param name="ScoreScaled">ScoreScaled.</param>
 /// <param name="ScoreRaw">ScoreRaw.</param>
 /// <param name="ScoreMin">ScoreMin.</param>
 /// <param name="ScoreMax">ScoreMax.</param>
 /// <param name="TotalTime">TotalTime.</param>
 /// <param name="TimeTracked">TimeTracked.</param>
 /// <param name="RuntimeSuccessStatus">RuntimeSuccessStatus (default to RuntimeSuccessStatusEnum.UNKNOWN).</param>
 /// <param name="SuspendData">SuspendData.</param>
 /// <param name="LearnerComments">LearnerComments.</param>
 /// <param name="LmsComments">LmsComments.</param>
 /// <param name="RuntimeInteractions">RuntimeInteractions.</param>
 /// <param name="RuntimeObjectives">RuntimeObjectives.</param>
 public RuntimeSchema(string CompletionStatus = default(string), string Credit = default(string), string Entry = default(string), string Exit = default(string), LearnerPreferenceSchema LearnerPreference = default(LearnerPreferenceSchema), string Location = default(string), string Mode = default(string), string ProgressMeasure = default(string), string ScoreScaled = default(string), string ScoreRaw = default(string), string ScoreMin = default(string), string ScoreMax = default(string), string TotalTime = default(string), string TimeTracked = default(string), RuntimeSuccessStatusEnum?RuntimeSuccessStatus = RuntimeSuccessStatusEnum.UNKNOWN, string SuspendData = default(string), List <CommentSchema> LearnerComments = default(List <CommentSchema>), List <CommentSchema> LmsComments = default(List <CommentSchema>), List <RuntimeInteractionSchema> RuntimeInteractions = default(List <RuntimeInteractionSchema>), List <RuntimeObjectiveSchema> RuntimeObjectives = default(List <RuntimeObjectiveSchema>))
 {
     this.CompletionStatus  = CompletionStatus;
     this.Credit            = Credit;
     this.Entry             = Entry;
     this.Exit              = Exit;
     this.LearnerPreference = LearnerPreference;
     this.Location          = Location;
     this.Mode              = Mode;
     this.ProgressMeasure   = ProgressMeasure;
     this.ScoreScaled       = ScoreScaled;
     this.ScoreRaw          = ScoreRaw;
     this.ScoreMin          = ScoreMin;
     this.ScoreMax          = ScoreMax;
     this.TotalTime         = TotalTime;
     this.TimeTracked       = TimeTracked;
     // use default value if no "RuntimeSuccessStatus" provided
     if (RuntimeSuccessStatus == null)
     {
         this.RuntimeSuccessStatus = RuntimeSuccessStatusEnum.UNKNOWN;
     }
     else
     {
         this.RuntimeSuccessStatus = RuntimeSuccessStatus;
     }
     this.SuspendData         = SuspendData;
     this.LearnerComments     = LearnerComments;
     this.LmsComments         = LmsComments;
     this.RuntimeInteractions = RuntimeInteractions;
     this.RuntimeObjectives   = RuntimeObjectives;
 }