Ejemplo n.º 1
0
 internal static Microsoft.Exchange.SoapWebClient.EWS.EmailAddressType[] CopyEmailAddressArray(Microsoft.Exchange.InfoWorker.Common.Availability.Proxy.EmailAddressType[] dispatcherArray)
 {
     if (dispatcherArray == null)
     {
         return(null);
     }
     Microsoft.Exchange.SoapWebClient.EWS.EmailAddressType[] array = new Microsoft.Exchange.SoapWebClient.EWS.EmailAddressType[dispatcherArray.Length];
     for (int i = 0; i < dispatcherArray.Length; i++)
     {
         array[i] = MessageConverter.CopyEmailAddress(dispatcherArray[i]);
     }
     return(array);
 }
Ejemplo n.º 2
0
 internal static Microsoft.Exchange.InfoWorker.Common.Availability.Proxy.EmailAddressType CopyEmailAddress(Microsoft.Exchange.SoapWebClient.EWS.EmailAddressType ewsEmail)
 {
     if (ewsEmail == null)
     {
         return(null);
     }
     return(new Microsoft.Exchange.InfoWorker.Common.Availability.Proxy.EmailAddressType
     {
         EmailAddress = ewsEmail.EmailAddress,
         Name = ewsEmail.Name
     });
 }