コード例 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="value">Gets or sets the content value of the &amp;lt;AssessmentDescriptor&amp;gt; element</param>
 ///
 public AssessmentDescriptor( AssessmentDescriptorType value )
     : base(AssessmentDTD.ASSESSMENTDESCRIPTOR)
 {
     this.SetValue( value );
 }
コード例 #2
0
 /// <summary>
 /// Sets the value of the <c>&lt;Value&gt;</c> element.
 /// </summary>
 /// <param name="val">A AssessmentDescriptorType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this of the content as: "Gets or sets the content value of the &amp;lt;AssessmentDescriptor&amp;gt; element"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.2</para>
 /// </remarks>
 public void SetValue( AssessmentDescriptorType val )
 {
     SetField( AssessmentDTD.ASSESSMENTDESCRIPTOR, val );
 }
コード例 #3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="value">Gets or sets the content value of the &amp;lt;AssessmentDescriptor&amp;gt; element</param>
 ///
 public AssessmentDescriptor(AssessmentDescriptorType value) : base(AssessmentDTD.ASSESSMENTDESCRIPTOR)
 {
     this.SetValue(value);
 }
コード例 #4
0
 /// <summary>
 /// Sets the value of the <c>&lt;Value&gt;</c> element.
 /// </summary>
 /// <param name="val">A AssessmentDescriptorType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this of the content as: "Gets or sets the content value of the &amp;lt;AssessmentDescriptor&amp;gt; element"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.2</para>
 /// </remarks>
 public void SetValue(AssessmentDescriptorType val)
 {
     SetField(AssessmentDTD.ASSESSMENTDESCRIPTOR, val);
 }
コード例 #5
0
 ///<summary>Adds the value of the <c>&lt;AssessmentDescriptor&gt;</c> element.</summary>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;AssessmentDescriptor&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setAssessmentDescriptor</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddAssessmentDescriptor</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.2</para>
 /// </remarks>
 public void AddAssessmentDescriptor(AssessmentDescriptorType Value)
 {
     AddChild(AssessmentDTD.ASSESSMENTDESCRIPTORS_ASSESSMENTDESCRIPTOR, new AssessmentDescriptor(Value));
 }