7 instantiations of MessageDescription
System.ServiceModel.Primitives (7)
System\ServiceModel\Description\MessageDescription.cs (1)
57return new MessageDescription(this);
System\ServiceModel\Description\TypeLoader.cs (6)
189MessageDescription message = new MessageDescription(MessageHeaders.WildcardAction, MessageDirection.Input); 204MessageDescription request = new MessageDescription(MessageHeaders.WildcardAction, MessageDirection.Input); 205MessageDescription reply = new MessageDescription(MessageHeaders.WildcardAction, MessageDirection.Output); 1251MessageDescription messageDescription = new MessageDescription(action, direction); 1308messageDescription = new MessageDescription(action, direction, messageItems); 1313messageDescription = new MessageDescription(action, direction, null);
72 references to MessageDescription
System.ServiceModel.Primitives (71)
System\ServiceModel\Description\DataContractSerializerOperationBehavior.cs (2)
104MessageDescription request = operation.Messages[0]; 105MessageDescription response = null;
System\ServiceModel\Description\DispatcherBuilder.cs (1)
215MessageDescription first = operation.Messages[0];
System\ServiceModel\Description\MessageDescription.cs (2)
35internal MessageDescription(MessageDescription other) 55internal MessageDescription Clone()
System\ServiceModel\Description\MessageDescriptionCollection.cs (7)
10public class MessageDescriptionCollection : Collection<MessageDescription> 16public MessageDescription Find(string action) 18foreach (MessageDescription description in this) 29public Collection<MessageDescription> FindAll(string action) 31Collection<MessageDescription> descriptions = new Collection<MessageDescription>(); 32foreach (MessageDescription description in this)
System\ServiceModel\Description\TypedMessageConverter.cs (1)
67MessageDescription message = typeLoader.CreateTypedMessageDescription(t, null, null, defaultNS, action, MessageDirection.Output);
System\ServiceModel\Description\TypeLoader.cs (11)
189MessageDescription message = new MessageDescription(MessageHeaders.WildcardAction, MessageDirection.Input); 204MessageDescription request = new MessageDescription(MessageHeaders.WildcardAction, MessageDirection.Input); 205MessageDescription reply = new MessageDescription(MessageHeaders.WildcardAction, MessageDirection.Output); 1025MessageDescription requestDescription = CreateMessageDescription(methodInfo, 1035MessageDescription responseDescription = null; 1142private MessageDescription CreateMessageDescription(MethodInfo methodInfo, 1154MessageDescription messageDescription; 1228private MessageDescription CreateParameterMessageDescription(ParameterInfo[] parameters, 1251MessageDescription messageDescription = new MessageDescription(action, direction); 1295internal MessageDescription CreateTypedMessageDescription(Type typedMessageType, 1302MessageDescription messageDescription;
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (6)
310foreach (MessageDescription message in operation.Messages) 435private MessageInfo CreateMessageInfo(MessageDescription message, string key) 456private void CreateHeaderDescriptionTable(MessageDescription message, MessageInfo info, XmlMembersMapping headersMapping) 524private XmlMembersMapping LoadBodyMapping(MessageDescription message, string mappingKey, out MessagePartDescriptionCollection rpcEncodedTypedMessageBodyParts) 574private MessagePartDescription GetWrapperPart(MessageDescription message) 633private XmlMembersMapping LoadHeadersMapping(MessageDescription message, string mappingKey)
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (6)
107MessageDescription messageDescription, DataContractSerializerOperationBehavior serializerFactory) 165protected override void AddHeadersToMessage(Message message, MessageDescription messageDescription, object[] parameters, bool isRequest) 220protected override void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest) 300protected override void GetHeadersFromMessage(Message message, MessageDescription messageDescription, object[] parameters, bool isRequest) 397private object DeserializeHeaderContents(XmlDictionaryReader reader, MessageDescription messageDescription, MessageHeaderDescription headerDescription) 410protected override object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest)
System\ServiceModel\Dispatcher\OperationFormatter.cs (19)
20private MessageDescription _requestDescription; 51protected abstract void AddHeadersToMessage(Message message, MessageDescription messageDescription, object[] parameters, bool isRequest); 52protected abstract void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest); 53protected virtual Task SerializeBodyAsync(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest) 59protected abstract void GetHeadersFromMessage(Message message, MessageDescription messageDescription, object[] parameters, bool isRequest); 60protected abstract object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest); 98protected MessageDescription ReplyDescription { get; } 100protected MessageDescription RequestDescription 238MessageDescription messageDescription; 343private void SetupStreamAndMessageDescription(bool isRequest, out StreamFormatter streamFormatter, out MessageDescription messageDescription) 359MessageDescription messageDescription; 375MessageDescription messageDescription; 412MessageDescription messageDescription; 450private void AddPropertiesToMessage(Message message, MessageDescription messageDescription, object[] parameters) 458private void AddPropertiesToMessageCore(Message message, MessageDescription messageDescription, object[] parameters) 473private void GetPropertiesFromMessage(Message message, MessageDescription messageDescription, object[] parameters) 481private void GetPropertiesFromMessageCore(Message message, MessageDescription messageDescription, object[] parameters) 536MessageDescription message = operation.Messages[i]; 621public TypedMessageParts(object instance, MessageDescription description)
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (4)
18private MessageDescription _responseMessage; 19private MessageDescription _requestMessage; 298MessageDescription requestMessage = description.Messages[0]; 299MessageDescription responseMessage = null;
System\ServiceModel\Dispatcher\StreamFormatter.cs (6)
26internal static StreamFormatter Create(MessageDescription messageDescription, string operationName, bool isRequest) 37private StreamFormatter(MessageDescription messageDescription, MessagePartDescription streamPart, string operationName, bool isRequest) 205private static MessagePartDescription ValidateAndGetStreamPart(MessageDescription messageDescription, bool isRequest, string operationName) 231private static bool HasStream(MessageDescription messageDescription) 248private static MessagePartDescription GetStreamPart(MessageDescription messageDescription) 273internal static bool IsStream(MessageDescription messageDescription)
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (4)
41protected override void AddHeadersToMessage(Message message, MessageDescription messageDescription, object[] parameters, bool isRequest) 144protected override void GetHeadersFromMessage(Message message, MessageDescription messageDescription, object[] parameters, bool isRequest) 304protected override void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, string action, MessageDescription messageDescription, object returnValue, object[] parameters, bool isRequest) 394protected override object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest)
System\ServiceModel\Security\ChannelProtectionRequirements.cs (1)
228foreach (MessageDescription message in operation.Messages)
System\ServiceModel\Security\WSTrust.cs (1)
1184foreach (MessageDescription message in operation.Messages)
UnitTests.Common (1)
TestHelpers.cs (1)
175MessageDescription messageDesc = messages.FirstOrDefault(m => m.Action.Equals(messageData.Action));