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