private static uddi.apiv2.email[] MapEmail(uddi.apiv3.email[] email)
        {
            if (email == null)
            {
                return(null);
            }
            List <uddi.apiv2.email> r = new List <uddi.apiv2.email>();

            for (int i = 0; i < email.Length; i++)
            {
                uddi.apiv2.email x = new uddi.apiv2.email();
                x.useType = email[i].useType;
                x.Value   = email[i].Value;
                r.Add(x);
            }
            return(r.ToArray());
        }
Esempio n. 2
0
 private static uddi.apiv2.email[] MapEmail(uddi.apiv3.email[] email)
 {
     if (email == null) return null;
     List<uddi.apiv2.email> r = new List<uddi.apiv2.email>();
     for (int i = 0; i < email.Length; i++)
     {
         uddi.apiv2.email x = new uddi.apiv2.email();
         x.useType = email[i].useType;
         x.Value = email[i].Value;
         r.Add(x);
     }
     return r.ToArray();
 }