System\ServiceModel\Description\MessageContractImporter.cs (14)
280foreach (MessageDescription message in operation.Messages)
315foreach (MessageDescription message in operation.Messages)
471MessageDescription messageDescription = contractContext.GetMessageDescription(wsdlOperationMessage);
556MessageDescription request = messages[0];
564MessageDescription response = messages[1];
653bool TryImportAnyMessage(WsdlNS.MessagePart part, MessageDescription description, bool isReply)
687bool TryImportStream(WsdlNS.MessagePart part, MessageDescription description, bool isReply, bool areAllMessagesWrapped)
727bool TryImportWrappedMessage(MessageDescription messageDescription, MessageDescription requestMessage, WsdlNS.Message wsdlMessage, bool isReply)
770bool CheckIsRef(MessageDescription requestMessage, MessagePartDescription part)
1238static bool CheckAndAddPart(XmlQualifiedName typeNameFound, XmlQualifiedName typeNameRequired, string name, string ns, Type type, MessageDescription description, bool isReply)
1411void ImportMessageBinding(WsdlNS.MessageBinding messageBinding, WsdlNS.Message wsdlMessage, MessageDescription description, OperationFormatStyle style, bool isEncoded)
1432void ImportMessageBodyBinding(WsdlNS.SoapBodyBinding bodyBinding, WsdlNS.Message wsdlMessage, MessageDescription description, OperationFormatStyle style, bool isEncoded, string operationName)
1439void ImportMessageHeaderBinding(WsdlNS.SoapHeaderBinding headerBinding, WsdlNS.Message wsdlMessage, MessageDescription description, OperationFormatStyle style, bool isEncoded, string operationName)
System\ServiceModel\Description\OperationGenerator.cs (10)
111readonly MessageDescription Request;
112readonly MessageDescription Response;
301CodeTypeReference GenerateTypedMessageHeaderAndReturnValueParts(CodeNamespace ns, string defaultName, MessageDescription message, bool isReply, bool hideFromEditor, ref bool isNewMessage, out IPartCodeGenerator partCodeGenerator)
361bool IsEmpty(MessageDescription message)
588void WrapTypedMessage(CodeNamespace ns, string typeName, MessageDescription messageDescription, bool isReply, bool isInherited, bool hideFromEditor)
650string GetWrapperNamespace(MessageDescription messageDescription)
770internal static void GenerateProtectionLevelAttribute(MessageDescription message, IPartCodeGenerator partCodeGenerator)
781internal static void GenerateWrapperAttribute(MessageDescription message, IPartCodeGenerator partCodeGenerator)
804internal static void AddGeneratedTypedMessage(ServiceContractGenerationContext contract, MessageDescription message, CodeTypeReference codeTypeReference)
812internal static bool FindGeneratedTypedMessage(ServiceContractGenerationContext contract, MessageDescription message, out CodeTypeReference codeTypeReference)
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (6)
110MessageDescription messageDescription, DataContractSerializerOperationBehavior serializerFactory)
169protected override void AddHeadersToMessage(Message message, MessageDescription messageDescription, object[] parameters, bool isRequest)
215protected override void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest)
271protected override void GetHeadersFromMessage(Message message, MessageDescription messageDescription, object[] parameters, bool isRequest)
349object DeserializeHeaderContents(XmlDictionaryReader reader, MessageDescription messageDescription, MessageHeaderDescription headerDescription)
362protected override object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest)
System\ServiceModel\Dispatcher\OperationFormatter.cs (18)
24MessageDescription replyDescription;
25MessageDescription requestDescription;
52protected abstract void AddHeadersToMessage(Message message, MessageDescription messageDescription, object[] parameters, bool isRequest);
53protected abstract void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest);
54protected abstract void GetHeadersFromMessage(Message message, MessageDescription messageDescription, object[] parameters, bool isRequest);
55protected abstract object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest);
90protected MessageDescription ReplyDescription
95protected MessageDescription RequestDescription
229MessageDescription messageDescription;
327void SetupStreamAndMessageDescription(bool isRequest, out StreamFormatter streamFormatter, out MessageDescription messageDescription)
343MessageDescription messageDescription;
380MessageDescription messageDescription;
418void AddPropertiesToMessage(Message message, MessageDescription messageDescription, object[] parameters)
426void AddPropertiesToMessageCore(Message message, MessageDescription messageDescription, object[] parameters)
439void GetPropertiesFromMessage(Message message, MessageDescription messageDescription, object[] parameters)
447void GetPropertiesFromMessageCore(Message message, MessageDescription messageDescription, object[] parameters)
499MessageDescription message = operation.Messages[i];
562public TypedMessageParts(object instance, MessageDescription description)
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (4)
43protected override void AddHeadersToMessage(Message message, MessageDescription messageDescription, object[] parameters, bool isRequest)
137protected override void GetHeadersFromMessage(Message message, MessageDescription messageDescription, object[] parameters, bool isRequest)
271protected override void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest)
337protected override object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest)