Ejemplo n.º 1
0
        private string ConcatAddresses(IEnumerable <Mailbox> addresses)
        {
            var list = new MailboxList();

            foreach (Mailbox address in addresses)
            {
                list.Add(address);
            }
            return(list.ToString());
        }
Ejemplo n.º 2
0
        private string ConvertAddressesToString(IEnumerable <Mailbox> addresses)
        {
            var list = new MailboxList();

            if (addresses != null)
            {
                foreach (Mailbox address in addresses)
                {
                    list.Add(address);
                }
            }
            return(list.ToString());
        }
		private string ConvertAddressesToString(IEnumerable<Mailbox> addresses)
		{
			var list = new MailboxList();
			if (addresses != null)
				foreach (Mailbox address in addresses)
					list.Add(address);
			return list.ToString();
		}