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

            for (int i = 0; i < description.Length; i++)
            {
                uddi.apiv2.description x = new uddi.apiv2.description();
                x.lang  = description[i].lang;
                x.Value = description[i].Value;
                r.Add(x);
            }
            return(r.ToArray());
        }
Пример #2
0
 private static uddi.apiv2.description[] MapDescription(uddi.apiv3.description[] description)
 {
     if (description == null) return null;
     List<uddi.apiv2.description> r = new List<uddi.apiv2.description>();
     for (int i = 0; i < description.Length; i++)
     {
         uddi.apiv2.description x = new uddi.apiv2.description();
         x.lang = description[i].lang;
         x.Value = description[i].Value;
         r.Add(x);
     }
     return r.ToArray();
 }