Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:LFNet.Common.Win32.Recipient" /> class.
 /// </summary>
 /// <param name="emailAddress">The email address.</param>
 /// <param name="displayName">The display name.</param>
 /// <param name="recipientType">Type of the recipient.</param>
 public Recipient(string emailAddress, string displayName, MailDialog.RecipientType recipientType)
 {
     this.EmailAddress  = emailAddress;
     this.DisplayName   = displayName;
     this.RecipientType = recipientType;
 }
 /// <summary>
 /// Adds a new recipient with the specified email address, display name and recipient type to this collection.
 /// </summary>
 /// <param name="emailAddress">The email address.</param>
 /// <param name="displayName">The display name.</param>
 /// <param name="recipientType">Type of the recipient.</param>
 public void Add(string emailAddress, string displayName, MailDialog.RecipientType recipientType)
 {
     Add(new Recipient(emailAddress, displayName, recipientType));
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:LFNet.Common.Win32.Recipient" /> class.
 /// </summary>
 /// <param name="emailAddress">The email address.</param>
 /// <param name="recipientType">Type of the recipient.</param>
 public Recipient(string emailAddress, MailDialog.RecipientType recipientType) : this(emailAddress, emailAddress, recipientType)
 {
 }
 /// <summary>
 /// Adds a new recipient with the specified email address and recipient type to this collection.
 /// </summary>
 /// <param name="emailAddress">The email address.</param>
 /// <param name="recipientType">Type of the recipient.</param>
 public void Add(string emailAddress, MailDialog.RecipientType recipientType)
 {
     Add(new Recipient(emailAddress, recipientType));
 }