Пример #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="sectionIdentifierType">Identifies the type of section identifier using a enumerated list.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;SectionIdentifier&amp;gt; element</param>
 ///
 public SectionIdentifier( SectionIdentifierType sectionIdentifierType, string value )
     : base(AssessmentDTD.SECTIONIDENTIFIER)
 {
     this.SetSectionIdentifierType( sectionIdentifierType );
     this.Value = value;
 }
Пример #2
0
 /// <summary>
 /// Sets the value of the <c>SectionIdentifierType</c> attribute.
 /// </summary>
 /// <param name="val">A SectionIdentifierType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Identifies the type of section identifier using a enumerated list."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetSectionIdentifierType( SectionIdentifierType val )
 {
     SetField( AssessmentDTD.SECTIONIDENTIFIER_SECTIONIDENTIFIERTYPE, val );
 }
Пример #3
0
 /// <summary>
 /// Sets the value of the <c>SectionIdentifierType</c> attribute.
 /// </summary>
 /// <param name="val">A SectionIdentifierType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Identifies the type of section identifier using a enumerated list."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetSectionIdentifierType(SectionIdentifierType val)
 {
     SetField(AssessmentDTD.SECTIONIDENTIFIER_SECTIONIDENTIFIERTYPE, val);
 }
Пример #4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="sectionIdentifierType">Identifies the type of section identifier using a enumerated list.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;SectionIdentifier&amp;gt; element</param>
 ///
 public SectionIdentifier(SectionIdentifierType sectionIdentifierType, string value) : base(AssessmentDTD.SECTIONIDENTIFIER)
 {
     this.SetSectionIdentifierType(sectionIdentifierType);
     this.Value = value;
 }
Пример #5
0
 ///<summary>Adds the value of the <c>&lt;SectionIdentifier&gt;</c> element.</summary>
 /// <param name="SectionIdentifierType">Identifies the type of section identifier using a enumerated list.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;SectionIdentifier&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setSectionIdentifier</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddSectionIdentifier</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void AddSectionIdentifier(SectionIdentifierType SectionIdentifierType, string Value)
 {
     AddChild(AssessmentDTD.SECTIONIDENTIFIERS_SECTIONIDENTIFIER, new SectionIdentifier(SectionIdentifierType, Value));
 }