Beispiel #1
0
        private static HashSet <tPortType> toEasyPorts(schemas.tPortType[] items)
        {
            HashSet <tPortType> ret = new HashSet <tPortType>();

            if (items == null)
            {
                return(ret);
            }
            for (int i = 0; i < items.Length; i++)
            {
                tPortType x = new tPortType();
                x.documentation = ConvertTo.toEasyDocumentation(items[i].documentation);
                x.operation     = ConvertTo.toEasyOperation(items[i].operation);
                x.name          = items[i].name;
                ret.Add(x);
            }
            return(ret);
        }
Beispiel #2
0
 private static HashSet<tPortType> toEasyPorts(schemas.tPortType[] items)
 {
     HashSet<tPortType> ret = new HashSet<tPortType>();
     if (items == null)
         return ret;
     for (int i = 0; i < items.Length; i++)
     {
         tPortType x = new tPortType();
         x.documentation = ConvertTo.toEasyDocumentation(items[i].documentation);
         x.operation = ConvertTo.toEasyOperation(items[i].operation);
         x.name = items[i].name;
         ret.Add(x);
     }
     return ret;
 }