Exemplo n.º 1
0
        private MessageRefType FindMessage(InterfaceOperationType op2, ItemsChoiceType type)
        {
            for (int i = 0; i < op2.ItemsElementName.Length; i++)
            {
                if (op2.ItemsElementName[i] == type)
                {
                    return(op2.Items[i] as MessageRefType);
                }
            }

            return(null);
        }
Exemplo n.º 2
0
        private MessageRefType FindMessage(InterfaceOperationType op2, ItemsChoiceType type)
        {
            for (int i = 0; i < op2.ItemsElementName.Length; i++)
            {
                if (op2.ItemsElementName[i] == type)
                    return op2.Items[i] as MessageRefType;
            }

            return null;
        }