コード例 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">A RefId</param>
 ///<param name="assetType">An AssetType</param>
 ///<param name="assetContent">An AssetContent</param>
 ///
 public Sif3AssessmentAsset( string refId, AssetType assetType, AbstractContentElementType assetContent )
     : base(Adk.SifVersion, Sif3assessmentDTD.SIF3ASSESSMENTASSET)
 {
     this.RefId = refId;
     this.SetAssetType( assetType );
     this.AssetContent = assetContent;
 }
コード例 #2
0
ファイル: Sif3Score.cs プロジェクト: rafidzal/OpenADK-csharp
 ///<summary>Sets the value of the <c>&lt;ScoreDescriptions&gt;</c> element.</summary>
 /// <param name="ScoreDescription">An individual statement that defines the specific expectations that the response must illustrate in order to achieve this score point. This is a complex content type in order to support math or other subjects that may require non-text representations of expectations.</param>
 ///<remarks>
 /// <para>This form of <c>setScoreDescriptions</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>ScoreDescriptions</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.6</para>
 /// </remarks>
 public void SetScoreDescriptions( AbstractContentElementType ScoreDescription )
 {
     RemoveChild( Sif3assessmentDTD.SIF3SCORE_SCOREDESCRIPTIONS);
     AddChild( Sif3assessmentDTD.SIF3SCORE_SCOREDESCRIPTIONS, new ScoreDescriptionList( ScoreDescription ) );
 }
コード例 #3
0
ファイル: Choice.cs プロジェクト: pgodwin/OpenADK-csharp
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="choiceContent">The number of responses.</param>
 ///
 public Choice( AbstractContentElementType choiceContent )
     : base(AssessmentDTD.CHOICE)
 {
     this.ChoiceContent = choiceContent;
 }
コード例 #4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="commentCode">A CommentCode</param>
 ///<param name="comment">A Comment</param>
 ///
 public ScoreComment( string commentCode, AbstractContentElementType comment )
     : base(Sif3assessmentDTD.SCORECOMMENT)
 {
     this.CommentCode = commentCode;
     this.Comment = comment;
 }