예제 #1
0
        private static HashSet<tBindingOperation> toBindingOperation(schemas.tBindingOperation[] items)
        {
            HashSet<tBindingOperation> ret = new HashSet<tBindingOperation>();
            if (items != null)
            {
                for (int i = 0; i < items.Length; i++)
                {
                    tBindingOperation x = new tBindingOperation();
                    x.Any = ConvertTo.toEasyAny(items[i].Any);
                    x.documentation = ConvertTo.toEasyDocumentation(items[i].documentation);
                    x.name = items[i].name;
                    x.fault = ConvertTo.toOperationBindingFault(items[i].fault);
                    x.input = ConvertTo.toOperationBindingMethod(items[i].input);
                    x.output = ConvertTo.toOperationBindingMethod(items[i].output);

                    ret.Add(x);
                }
            }

            return ret;
        }
예제 #2
0
        private static HashSet <tBindingOperation> toBindingOperation(schemas.tBindingOperation[] items)
        {
            HashSet <tBindingOperation> ret = new HashSet <tBindingOperation>();

            if (items != null)
            {
                for (int i = 0; i < items.Length; i++)
                {
                    tBindingOperation x = new tBindingOperation();
                    x.Any           = ConvertTo.toEasyAny(items[i].Any);
                    x.documentation = ConvertTo.toEasyDocumentation(items[i].documentation);
                    x.name          = items[i].name;
                    x.fault         = ConvertTo.toOperationBindingFault(items[i].fault);
                    x.input         = ConvertTo.toOperationBindingMethod(items[i].input);
                    x.output        = ConvertTo.toOperationBindingMethod(items[i].output);

                    ret.Add(x);
                }
            }

            return(ret);
        }