Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RegistrationSchema" /> class.
 /// </summary>
 /// <param name="Id">Id.</param>
 /// <param name="Instance">Instance.</param>
 /// <param name="XapiRegistrationId">xAPI registration id associated with this registration.</param>
 /// <param name="DispatchId">Dispatch ID for this registration, if applicable.</param>
 /// <param name="Updated">Updated.</param>
 /// <param name="RegistrationCompletion">RegistrationCompletion.</param>
 /// <param name="RegistrationCompletionAmount">RegistrationCompletionAmount.</param>
 /// <param name="RegistrationSuccess">RegistrationSuccess.</param>
 /// <param name="Score">Score.</param>
 /// <param name="TotalSecondsTracked">TotalSecondsTracked.</param>
 /// <param name="FirstAccessDate">FirstAccessDate.</param>
 /// <param name="LastAccessDate">LastAccessDate.</param>
 /// <param name="CompletedDate">CompletedDate.</param>
 /// <param name="CreatedDate">CreatedDate.</param>
 /// <param name="Course">Course.</param>
 /// <param name="Learner">Learner.</param>
 /// <param name="Tags">Tags.</param>
 /// <param name="GlobalObjectives">GlobalObjectives.</param>
 /// <param name="SharedData">SharedData.</param>
 /// <param name="SuspendedActivityId">SuspendedActivityId.</param>
 /// <param name="ActivityDetails">ActivityDetails.</param>
 public RegistrationSchema(string Id = default(string), int?Instance = default(int?), string XapiRegistrationId = default(string), string DispatchId = default(string), DateTime?Updated = default(DateTime?), RegistrationCompletion RegistrationCompletion = default(RegistrationCompletion), double?RegistrationCompletionAmount = default(double?), RegistrationSuccess RegistrationSuccess = default(RegistrationSuccess), ScoreSchema Score = default(ScoreSchema), double?TotalSecondsTracked = default(double?), DateTime?FirstAccessDate = default(DateTime?), DateTime?LastAccessDate = default(DateTime?), DateTime?CompletedDate = default(DateTime?), DateTime?CreatedDate = default(DateTime?), CourseReferenceSchema Course = default(CourseReferenceSchema), LearnerSchema Learner = default(LearnerSchema), List <string> Tags = default(List <string>), List <ObjectiveSchema> GlobalObjectives = default(List <ObjectiveSchema>), List <SharedDataEntrySchema> SharedData = default(List <SharedDataEntrySchema>), string SuspendedActivityId = default(string), ActivityResultSchema ActivityDetails = default(ActivityResultSchema))
 {
     this.Id                           = Id;
     this.Instance                     = Instance;
     this.XapiRegistrationId           = XapiRegistrationId;
     this.DispatchId                   = DispatchId;
     this.Updated                      = Updated;
     this.RegistrationCompletion       = RegistrationCompletion;
     this.RegistrationCompletionAmount = RegistrationCompletionAmount;
     this.RegistrationSuccess          = RegistrationSuccess;
     this.Score                        = Score;
     this.TotalSecondsTracked          = TotalSecondsTracked;
     this.FirstAccessDate              = FirstAccessDate;
     this.LastAccessDate               = LastAccessDate;
     this.CompletedDate                = CompletedDate;
     this.CreatedDate                  = CreatedDate;
     this.Course                       = Course;
     this.Learner                      = Learner;
     this.Tags                         = Tags;
     this.GlobalObjectives             = GlobalObjectives;
     this.SharedData                   = SharedData;
     this.SuspendedActivityId          = SuspendedActivityId;
     this.ActivityDetails              = ActivityDetails;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RegistrationSchema" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="instance">instance.</param>
 /// <param name="xapiRegistrationId">xAPI registration id associated with this registration.</param>
 /// <param name="dispatchId">Dispatch ID for this registration, if applicable.</param>
 /// <param name="updated">updated.</param>
 /// <param name="registrationCompletion">registrationCompletion.</param>
 /// <param name="registrationCompletionAmount">registrationCompletionAmount.</param>
 /// <param name="registrationSuccess">registrationSuccess.</param>
 /// <param name="score">score.</param>
 /// <param name="totalSecondsTracked">totalSecondsTracked.</param>
 /// <param name="firstAccessDate">firstAccessDate.</param>
 /// <param name="lastAccessDate">lastAccessDate.</param>
 /// <param name="completedDate">completedDate.</param>
 /// <param name="createdDate">createdDate.</param>
 /// <param name="course">course.</param>
 /// <param name="learner">learner.</param>
 /// <param name="tags">tags.</param>
 /// <param name="globalObjectives">globalObjectives.</param>
 /// <param name="sharedData">sharedData.</param>
 /// <param name="suspendedActivityId">suspendedActivityId.</param>
 /// <param name="activityDetails">activityDetails.</param>
 public RegistrationSchema(string id = default(string), int?instance = default(int?), string xapiRegistrationId = default(string), string dispatchId = default(string), DateTime?updated = default(DateTime?), RegistrationCompletion?registrationCompletion = default(RegistrationCompletion?), double?registrationCompletionAmount = default(double?), RegistrationSuccess?registrationSuccess = default(RegistrationSuccess?), ScoreSchema score = default(ScoreSchema), double?totalSecondsTracked = default(double?), DateTime?firstAccessDate = default(DateTime?), DateTime?lastAccessDate = default(DateTime?), DateTime?completedDate = default(DateTime?), DateTime?createdDate = default(DateTime?), CourseReferenceSchema course = default(CourseReferenceSchema), LearnerSchema learner = default(LearnerSchema), List <string> tags = default(List <string>), List <ObjectiveSchema> globalObjectives = default(List <ObjectiveSchema>), List <SharedDataEntrySchema> sharedData = default(List <SharedDataEntrySchema>), string suspendedActivityId = default(string), ActivityResultSchema activityDetails = default(ActivityResultSchema))
 {
     this.Id                           = id;
     this.Instance                     = instance;
     this.XapiRegistrationId           = xapiRegistrationId;
     this.DispatchId                   = dispatchId;
     this.Updated                      = updated;
     this.RegistrationCompletion       = registrationCompletion;
     this.RegistrationCompletionAmount = registrationCompletionAmount;
     this.RegistrationSuccess          = registrationSuccess;
     this.Score                        = score;
     this.TotalSecondsTracked          = totalSecondsTracked;
     this.FirstAccessDate              = firstAccessDate;
     this.LastAccessDate               = lastAccessDate;
     this.CompletedDate                = completedDate;
     this.CreatedDate                  = createdDate;
     this.Course                       = course;
     this.Learner                      = learner;
     this.Tags                         = tags;
     this.GlobalObjectives             = globalObjectives;
     this.SharedData                   = sharedData;
     this.SuspendedActivityId          = suspendedActivityId;
     this.ActivityDetails              = activityDetails;
 }