/// <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><Resources></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 ) ); }
/// <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 ); }
///<summary>Sets the value of the <c><Resources></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)); }