コード例 #1
0
ファイル: easyWsdl.cs プロジェクト: lazycrazyowl/juddi
        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
ファイル: easyWsdl.cs プロジェクト: st609877063/juddi
        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);
        }