Пример #1
0
 ///<summary>Sets the value of the <c>&lt;DetailedDescription&gt;</c> element.</summary>
 /// <param name="Type">The type of information that is contained in the DetailedDescription element.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;DetailedDescription&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setDetailedDescription</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>DetailedDescription</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetDetailedDescription( DetailedDescriptionType Type, string Value )
 {
     RemoveChild( GradebookDTD.GRADINGASSIGNMENT_DETAILEDDESCRIPTION);
     AddChild( GradebookDTD.GRADINGASSIGNMENT_DETAILEDDESCRIPTION, new DetailedDescription( Type, Value ) );
 }
Пример #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">The type of information that is contained in the DetailedDescription element.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;DetailedDescription&amp;gt; element</param>
 ///
 public DetailedDescription(DetailedDescriptionType type, string value) : base(GradebookDTD.DETAILEDDESCRIPTION)
 {
     this.SetType(type);
     this.Value = value;
 }
Пример #3
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A DetailedDescriptionType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The type of information that is contained in the DetailedDescription element."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType(DetailedDescriptionType val)
 {
     SetField(GradebookDTD.DETAILEDDESCRIPTION_TYPE, val);
 }
Пример #4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">The type of information that is contained in the DetailedDescription element.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;DetailedDescription&amp;gt; element</param>
 ///
 public DetailedDescription( DetailedDescriptionType type, string value )
     : base(GradebookDTD.DETAILEDDESCRIPTION)
 {
     this.SetType( type );
     this.Value = value;
 }
Пример #5
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A DetailedDescriptionType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The type of information that is contained in the DetailedDescription element."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType( DetailedDescriptionType val )
 {
     SetField( GradebookDTD.DETAILEDDESCRIPTION_TYPE, val );
 }
Пример #6
0
 ///<summary>Sets the value of the <c>&lt;DetailedDescription&gt;</c> element.</summary>
 /// <param name="Type">The type of information that is contained in the DetailedDescription element.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;DetailedDescription&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setDetailedDescription</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>DetailedDescription</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetDetailedDescription(DetailedDescriptionType Type, string Value)
 {
     RemoveChild(GradebookDTD.GRADINGASSIGNMENT_DETAILEDDESCRIPTION);
     AddChild(GradebookDTD.GRADINGASSIGNMENT_DETAILEDDESCRIPTION, new DetailedDescription(Type, Value));
 }