Exemple #1
0
        private static HashSet <tOperation> toEasyOperation(schemas.tOperation[] items)
        {
            HashSet <tOperation> ret = new HashSet <tOperation>();

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