public static uddi.apiv3.name[] MapNames(uddi.apiv2.name[] name)
        {
            if (name == null)
            {
                return(null);
            }
            List <uddi.apiv3.name> r = new List <uddi.apiv3.name>();

            for (int i = 0; i < name.Length; i++)
            {
                uddi.apiv3.name x = new uddi.apiv3.name();
                x.Value = name[i].Value;
                x.lang  = name[i].lang;
                r.Add(x);
            }
            return(r.ToArray());
        }
예제 #2
0
 public static uddi.apiv3.name[] MapNames(uddi.apiv2.name[] name)
 {
     if (name == null) return null;
     List<uddi.apiv3.name> r = new List<uddi.apiv3.name>();
     for (int i = 0; i < name.Length; i++)
     {
         uddi.apiv3.name x = new uddi.apiv3.name();
         x.Value = name[i].Value;
         x.lang = name[i].lang;
         r.Add(x);
     }
     return r.ToArray();
 }