Esempio n. 1
0
        private static HashSet <tBinding> toEasyBinding(schemas.tBinding[] items)
        {
            HashSet <tBinding> ret = new HashSet <tBinding>();

            if (items != null)
            {
                for (int i = 0; i < items.Length; i++)
                {
                    tBinding x = new tBinding();
                    x.Any           = ConvertTo.toEasyAny(items[i].Any);
                    x.documentation = ConvertTo.toEasyDocumentation(items[i].documentation);
                    x.name          = items[i].name;
                    x.operation     = ConvertTo.toBindingOperation(items[i].operation);
                    x.type          = ConvertTo.toBindingType(items[i].type);
                    ret.Add(x);
                }
            }

            return(ret);
        }
Esempio n. 2
0
        private static HashSet<tBinding> toEasyBinding(schemas.tBinding[] items)
        {
            HashSet<tBinding> ret = new HashSet<tBinding>();
            if (items != null)
            {
                for (int i = 0; i < items.Length; i++)
                {
                    tBinding x = new tBinding();
                    x.Any = ConvertTo.toEasyAny(items[i].Any);
                    x.documentation = ConvertTo.toEasyDocumentation(items[i].documentation);
                    x.name = items[i].name;
                    x.operation = ConvertTo.toBindingOperation(items[i].operation);
                    x.type = ConvertTo.toBindingType(items[i].type);
                    ret.Add(x);
                }
            }

            return ret;
        }