Beispiel #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="choiceContent">The text of the choice, such as true, 27, or Important economic and social factors.</param>
 ///
 public Choice( ContentElement choiceContent )
     : base(AssessmentDTD.CHOICE)
 {
     this.ChoiceContent = choiceContent;
 }
 ///<summary>Sets the value of the <c>&lt;Choice&gt;</c> element.</summary>
 /// <param name="ChoiceContent">The text of the choice, such as true, 27, or Important economic and social factors.</param>
 ///<remarks>
 /// <para>This form of <c>setChoice</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Choice</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetChoice( ContentElement ChoiceContent )
 {
     RemoveChild( AssessmentDTD.RESPONSECHOICEPATTERN_CHOICE);
     AddChild( AssessmentDTD.RESPONSECHOICEPATTERN_CHOICE, new Choice( ChoiceContent ) );
 }
Beispiel #3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="choiceContent">The text of the choice, such as true, 27, or Important economic and social factors.</param>
 ///
 public Choice(ContentElement choiceContent) : base(AssessmentDTD.CHOICE)
 {
     this.ChoiceContent = choiceContent;
 }
Beispiel #4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="assetType">An AssetType</param>
 ///<param name="assetContent">Contains the actual asset content. Content could be text, images, audio/video, interactive tools, etc.</param>
 ///
 public Sif3AssessmentAsset(AssetType assetType, ContentElement assetContent) : base(Adk.SifVersion, AssessmentDTD.SIF3ASSESSMENTASSET)
 {
     this.SetAssetType(assetType);
     this.AssetContent = assetContent;
 }
Beispiel #5
0
 ///<summary>Sets the value of the <c>&lt;Choice&gt;</c> element.</summary>
 /// <param name="ChoiceContent">The text of the choice, such as true, 27, or Important economic and social factors.</param>
 ///<remarks>
 /// <para>This form of <c>setChoice</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Choice</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetChoice(ContentElement ChoiceContent)
 {
     RemoveChild(AssessmentDTD.RESPONSECHOICEPATTERN_CHOICE);
     AddChild(AssessmentDTD.RESPONSECHOICEPATTERN_CHOICE, new Choice(ChoiceContent));
 }
Beispiel #6
0
 ///<summary>Adds the value of the <c>&lt;Choice&gt;</c> element.</summary>
 /// <param name="ChoiceContent">The text of the choice, such as true, 27, or Important economic and social factors.</param>
 ///<remarks>
 /// <para>This form of <c>setChoice</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddChoice</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.2</para>
 /// </remarks>
 public void AddChoice(ContentElement ChoiceContent)
 {
     AddChild(AssessmentDTD.RESPONSECHOICES_CHOICE, new Choice(ChoiceContent));
 }