コード例 #1
0
 ///<summary>Sets the value of the <c>&lt;Email&gt;</c> element.</summary>
 /// <param name="Type">This attribute specifies the type of e-mail address.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Email&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setEmail</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Email</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetEmail( EmailType Type, string Value )
 {
     RemoveChild( CommonDTD.PERSONALINFORMATION_EMAIL);
     AddChild( CommonDTD.PERSONALINFORMATION_EMAIL, new Email( Type, Value ) );
 }
コード例 #2
0
 ///<summary>Sets the value of the <c>&lt;Email&gt;</c> element.</summary>
 /// <param name="Type">This attribute specifies the type of e-mail address.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Email&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setEmail</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Email</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetEmail(EmailType Type, string Value)
 {
     RemoveChild(CommonDTD.PERSONALINFORMATION_EMAIL);
     AddChild(CommonDTD.PERSONALINFORMATION_EMAIL, new Email(Type, Value));
 }
コード例 #3
0
ファイル: SchoolInfo.cs プロジェクト: rafidzal/OpenADK-csharp
 ///<summary>Sets the value of the <c>&lt;SchoolEmail&gt;</c> element.</summary>
 /// <param name="Type">This attribute specifies the type of e-mail address.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Email&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setSchoolEmail</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>SchoolEmail</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetSchoolEmail( EmailType Type, string Value )
 {
     RemoveChild( SchoolDTD.SCHOOLINFO_SCHOOLEMAIL);
     AddChild( SchoolDTD.SCHOOLINFO_SCHOOLEMAIL, new Email( Type, Value ) );
 }
コード例 #4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">This attribute specifies the type of e-mail address.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;Email&amp;gt; element</param>
 ///
 public Email(EmailType type, string value) : base(CommonDTD.EMAIL)
 {
     this.SetType(type);
     this.Value = value;
 }
コード例 #5
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A EmailType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "This attribute specifies the type of e-mail address."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType(EmailType val)
 {
     SetField(CommonDTD.EMAIL_TYPE, val);
 }
コード例 #6
0
 ///<summary>Adds the value of the <c>&lt;Email&gt;</c> element.</summary>
 /// <param name="Type">This attribute specifies the type of e-mail address.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;Email&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setEmail</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddEmail</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void AddEmail(EmailType Type, string Value)
 {
     AddChild(CommonDTD.EMAILLIST_EMAIL, new Email(Type, Value));
 }
コード例 #7
0
ファイル: Email.cs プロジェクト: pgodwin/OpenADK-csharp
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">This attribute specifies the type of e-mail address.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;Email&amp;gt; element</param>
 ///
 public Email( EmailType type, string value )
     : base(CommonDTD.EMAIL)
 {
     this.SetType( type );
     this.Value = value;
 }
コード例 #8
0
ファイル: Email.cs プロジェクト: pgodwin/OpenADK-csharp
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A EmailType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "This attribute specifies the type of e-mail address."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType( EmailType val )
 {
     SetField( CommonDTD.EMAIL_TYPE, val );
 }