예제 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="resourceType">A ResourceType</param>
 ///
 public ResourcesList( ResourceType resourceType )
     : base(LearningDTD.RESOURCESLIST)
 {
     this.SetResourceType( resourceType );
 }
 ///<summary>Sets the value of the <c>&lt;Resources&gt;</c> element.</summary>
 /// <param name="ResourceType">A ResourceType</param>
 ///<remarks>
 /// <para>This form of <c>setResources</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Resources</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetResources( ResourceType ResourceType )
 {
     RemoveChild( LearningDTD.LEARNINGSTANDARDITEM_RESOURCES);
     AddChild( LearningDTD.LEARNINGSTANDARDITEM_RESOURCES, new ResourcesList( ResourceType ) );
 }
예제 #3
0
 /// <summary>
 /// Sets the value of the <c>ResourceType</c> attribute.
 /// </summary>
 /// <param name="val">A ResourceType object</param>
 /// <remarks>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetResourceType( ResourceType val )
 {
     SetField( LearningDTD.RESOURCESLIST_RESOURCETYPE, val );
 }
예제 #4
0
 ///<summary>Sets the value of the <c>&lt;Resources&gt;</c> element.</summary>
 /// <param name="ResourceType">A ResourceType</param>
 ///<remarks>
 /// <para>This form of <c>setResources</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Resources</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetResources(ResourceType ResourceType)
 {
     RemoveChild(LearningDTD.LEARNINGSTANDARDITEM_RESOURCES);
     AddChild(LearningDTD.LEARNINGSTANDARDITEM_RESOURCES, new ResourcesList(ResourceType));
 }