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); }
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; }