Ejemplo n.º 1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="priority">The level of urgency associated with this message.</param>
 ///<param name="text">The contents of the message.</param>
 ///
 public Message( Priority priority, string text )
     : base(LibraryDTD.MESSAGE)
 {
     this.SetPriority( priority );
     this.Text = text;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sets the value of the <c>Priority</c> attribute.
 /// </summary>
 /// <param name="val">A Priority object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The level of urgency associated with this message."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetPriority( Priority val )
 {
     SetField( LibraryDTD.MESSAGE_PRIORITY, val );
 }