コード例 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code indicating the destination type. CBDS: 100072</param>
 ///
 public Destination( LeavingDestination code )
     : base(LearnerDTD.DESTINATION)
 {
     this.SetCode( code );
 }
コード例 #2
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A LeavingDestination object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Code indicating the destination type. CBDS: 100072"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCode( LeavingDestination val )
 {
     SetField( LearnerDTD.DESTINATION_CODE, val );
 }
コード例 #3
0
ファイル: ExitType.cs プロジェクト: rafidzal/OpenADK-csharp
 ///<summary>Sets the value of the <c>&lt;Destination&gt;</c> element.</summary>
 /// <param name="Code">Code indicating the destination type. CBDS: 100072</param>
 ///<remarks>
 /// <para>This form of <c>setDestination</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Destination</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetDestination( LeavingDestination Code )
 {
     RemoveChild( LearnerDTD.EXITTYPE_DESTINATION);
     AddChild( LearnerDTD.EXITTYPE_DESTINATION, new Destination( Code ) );
 }
コード例 #4
0
ファイル: Destination.cs プロジェクト: rubitek/OpenADK-csharp
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A LeavingDestination object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Code indicating the destination type. CBDS: 100072"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCode(LeavingDestination val)
 {
     SetField(LearnerDTD.DESTINATION_CODE, val);
 }
コード例 #5
0
ファイル: Destination.cs プロジェクト: rubitek/OpenADK-csharp
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code indicating the destination type. CBDS: 100072</param>
 ///
 public Destination(LeavingDestination code) : base(LearnerDTD.DESTINATION)
 {
     this.SetCode(code);
 }
コード例 #6
0
ファイル: ExitType.cs プロジェクト: rubitek/OpenADK-csharp
 ///<summary>Sets the value of the <c>&lt;Destination&gt;</c> element.</summary>
 /// <param name="Code">Code indicating the destination type. CBDS: 100072</param>
 ///<remarks>
 /// <para>This form of <c>setDestination</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Destination</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetDestination(LeavingDestination Code)
 {
     RemoveChild(LearnerDTD.EXITTYPE_DESTINATION);
     AddChild(LearnerDTD.EXITTYPE_DESTINATION, new Destination(Code));
 }