private GetResponseBodyType ( |
||
od | ||
isXmlSerializerType | bool | |
리턴 |
Type GetResponseBodyType(OperationDescription od, out bool isXmlSerializerType)
{
isXmlSerializerType = (od.Behaviors.Find<XmlSerializerOperationBehavior>() != null);
if (od.Messages[1].MessageType != null) return null;
if (od.Messages[1].Body.Parts.Count > 0) return null;
return (od.Messages[1].Body.ReturnValue.Type);
}