Ejemplo n.º 1
0
 public MailingListRecipientViewModel(MessageViewModel parent, MailingList list)
     : base(parent)
 {
     MailingList = list;
     Display     = list.Name;
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Create a new RecipientViewModel with the given owner.
 /// </summary>
 /// <param name="parent">The MessageViewModel that owns this RecipientViewModel.</param>
 protected RecipientViewModel(MessageViewModel parent)
 {
     Parent = parent;
 }
Ejemplo n.º 3
0
 public AddressRecipientViewModel(MessageViewModel parent, Address address) : base(parent)
 {
     Address = address;
     Display = address.FirstName + " " + address.LastName;
 }