コード例 #1
0
ファイル: SchoolInfo.cs プロジェクト: pgodwin/OpenADK-csharp
 /// <summary>
 /// Sets the value of the <c>&lt;SessionType&gt;</c> element.
 /// </summary>
 /// <param name="val">A SessionTypeCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Code that specifies the session type."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetSessionType( SessionTypeCode val )
 {
     SetField( StudentDTD.SCHOOLINFO_SESSIONTYPE, val );
 }
コード例 #2
0
 ///<summary>Sets the value of the <c>&lt;TermSpan&gt;</c> element.</summary>
 /// <param name="Code">Code for session type.</param>
 ///<remarks>
 /// <para>This form of <c>setTermSpan</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>TermSpan</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetTermSpan( SessionTypeCode Code )
 {
     RemoveChild( EtranscriptsDTD.TERMINFODATA_TERMSPAN);
     AddChild( EtranscriptsDTD.TERMINFODATA_TERMSPAN, new TermSpan( Code ) );
 }
コード例 #3
0
ファイル: TermInfo.cs プロジェクト: pgodwin/OpenADK-csharp
 ///<summary>Sets the value of the <c>&lt;TermSpan&gt;</c> element.</summary>
 /// <param name="Code">Code for session type.</param>
 ///<remarks>
 /// <para>This form of <c>setTermSpan</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>TermSpan</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetTermSpan( SessionTypeCode Code )
 {
     RemoveChild( StudentDTD.TERMINFO_TERMSPAN);
     AddChild( StudentDTD.TERMINFO_TERMSPAN, new TermSpan( Code ) );
 }
コード例 #4
0
ファイル: TermSpan.cs プロジェクト: pgodwin/OpenADK-csharp
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code for session type.</param>
 ///
 public TermSpan( SessionTypeCode code )
     : base(CommonDTD.TERMSPAN)
 {
     this.SetCode( code );
 }
コード例 #5
0
ファイル: TermSpan.cs プロジェクト: pgodwin/OpenADK-csharp
 /// <summary>
 /// Sets the value of the <c>Code</c> attribute.
 /// </summary>
 /// <param name="val">A SessionTypeCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Code for session type."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetCode( SessionTypeCode val )
 {
     SetField( CommonDTD.TERMSPAN_CODE, val );
 }
コード例 #6
0
ファイル: TermSpan.cs プロジェクト: rubitek/OpenADK-csharp
 /// <summary>
 /// Sets the value of the <c>Code</c> attribute.
 /// </summary>
 /// <param name="val">A SessionTypeCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Code for session type."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetCode(SessionTypeCode val)
 {
     SetField(CommonDTD.TERMSPAN_CODE, val);
 }
コード例 #7
0
ファイル: TermSpan.cs プロジェクト: rubitek/OpenADK-csharp
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code for session type.</param>
 ///
 public TermSpan(SessionTypeCode code) : base(CommonDTD.TERMSPAN)
 {
     this.SetCode(code);
 }