Beispiel #1
0
 ///<summary>Sets the value of the <c>&lt;Participants&gt;</c> element.</summary>
 /// <param name="Employees">An Employees</param>
 /// <param name="Learners">A Learners</param>
 ///<remarks>
 /// <para>This form of <c>setParticipants</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Participants</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetParticipants(Employee Employees, Learner Learners)
 {
     RemoveChild(LearnerDTD.LEARNERBEHAVIOURINCIDENT_PARTICIPANTS);
     AddChild(LearnerDTD.LEARNERBEHAVIOURINCIDENT_PARTICIPANTS, new Participants(Employees, Learners));
 }
Beispiel #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="employees">An Employees</param>
 ///<param name="learners">A Learners</param>
 ///
 public Participants( Employee employees, Learner learners )
     : base(LearnerDTD.PARTICIPANTS)
 {
     this.Employees =  new Employees( employees );
     this.Learners =  new Learners( learners );
 }
Beispiel #3
0
 ///<summary>Sets the value of the <c>&lt;Learners&gt;</c> element.</summary>
 /// <param name="Learner">A Learner</param>
 ///<remarks>
 /// <para>This form of <c>setLearners</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Learners</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetLearners( Learner Learner )
 {
     RemoveChild( LearnerDTD.PARTICIPANTS_LEARNERS);
     AddChild( LearnerDTD.PARTICIPANTS_LEARNERS, new Learners( Learner ) );
 }
 ///<summary>Sets the value of the <c>&lt;Participants&gt;</c> element.</summary>
 /// <param name="Employees">An Employees</param>
 /// <param name="Learners">A Learners</param>
 ///<remarks>
 /// <para>This form of <c>setParticipants</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Participants</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetParticipants( Employee Employees, Learner Learners )
 {
     RemoveChild( LearnerDTD.LEARNERBEHAVIOURINCIDENT_PARTICIPANTS);
     AddChild( LearnerDTD.LEARNERBEHAVIOURINCIDENT_PARTICIPANTS, new Participants( Employees, Learners ) );
 }
Beispiel #5
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="employees">An Employees</param>
 ///<param name="learners">A Learners</param>
 ///
 public Participants(Employee employees, Learner learners) : base(LearnerDTD.PARTICIPANTS)
 {
     this.Employees = new Employees(employees);
     this.Learners  = new Learners(learners);
 }
Beispiel #6
0
 ///<summary>Sets the value of the <c>&lt;Learners&gt;</c> element.</summary>
 /// <param name="Learner">A Learner</param>
 ///<remarks>
 /// <para>This form of <c>setLearners</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Learners</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetLearners(Learner Learner)
 {
     RemoveChild(LearnerDTD.PARTICIPANTS_LEARNERS);
     AddChild(LearnerDTD.PARTICIPANTS_LEARNERS, new Learners(Learner));
 }