Exemple #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="value">Gets or sets the content value of the &amp;lt;Post&amp;gt; element</param>
 ///
 public Post( EmployeePost value )
     : base(WorkforceDTD.POST)
 {
     this.SetValue( value );
 }
Exemple #2
0
 /// <summary>
 /// Sets the value of the <c>&lt;Value&gt;</c> element.
 /// </summary>
 /// <param name="val">A EmployeePost object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this of the content as: "Gets or sets the content value of the &amp;lt;Post&amp;gt; element"</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetValue( EmployeePost val )
 {
     SetField( WorkforceDTD.POST, val );
 }
Exemple #3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="value">Gets or sets the content value of the &amp;lt;Post&amp;gt; element</param>
 ///
 public Post(EmployeePost value) : base(WorkforceDTD.POST)
 {
     this.SetValue(value);
 }
Exemple #4
0
 /// <summary>
 /// Sets the value of the <c>&lt;Value&gt;</c> element.
 /// </summary>
 /// <param name="val">A EmployeePost object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this of the content as: "Gets or sets the content value of the &amp;lt;Post&amp;gt; element"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetValue(EmployeePost val)
 {
     SetField(WorkforceDTD.POST, val);
 }
Exemple #5
0
 ///<summary>Adds the value of the <c>&lt;Post&gt;</c> element.</summary>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Post&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setPost</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddPost</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void AddPost(EmployeePost Value)
 {
     AddChild(WorkforceDTD.POSTS_POST, new Post(Value));
 }