2 types derived from MessagePartDescription
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageHeaderDescription.cs (1)
9
public class MessageHeaderDescription :
MessagePartDescription
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessagePropertyDescription.cs (1)
7
public class MessagePropertyDescription :
MessagePartDescription
9 instantiations of MessagePartDescription
dotnet-svcutil-lib (9)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (4)
1230
MessagePartDescription bodyPart = new
MessagePartDescription
(name, ns);
1479
bodyPart = isHeader ? (MessagePartDescription)new MessageHeaderDescription(part.Name, String.Empty) : new
MessagePartDescription
(part.Name, String.Empty);
1499
MessagePartDescription part = isHeader ? (MessagePartDescription)new MessageHeaderDescription(element.Name, ns) : new
MessagePartDescription
(element.Name, ns);
2004
MessagePartDescription part = new
MessagePartDescription
(xmlName, member.Namespace == null ? string.Empty : member.Namespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessagePartDescription.cs (1)
65
return new
MessagePartDescription
(this);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
630
MessagePartDescription wrapperPart = new
MessagePartDescription
(messageDescription.Body.WrapperName, messageDescription.Body.WrapperNamespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (3)
1258
parameterPart = new
MessagePartDescription
(name.EncodedName, defaultNS);
1425
partDescription = new
MessagePartDescription
(defaultName.EncodedName, defaultNS);
1432
partDescription = new
MessagePartDescription
(partName.EncodedName, partNs);
133 references to MessagePartDescription
dotnet-svcutil-lib (133)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (3)
128
private void ValidateExistingOrSetNewProtectionLevel(
MessagePartDescription
part, MessageDescription message, OperationDescription operation, ContractDescription contract, ProtectionLevel newProtectionLevel)
279
foreach (
MessagePartDescription
body in message.Body.Parts)
432
foreach (
MessagePartDescription
body in message.Body.Parts)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (12)
20
private Dictionary<
MessagePartDescription
, ICollection<CodeTypeReference>> _knownTypes;
21
private Dictionary<
MessagePartDescription
, bool> _isNonNillableReferenceTypes;
31
internal void Add(
MessagePartDescription
part, CodeTypeReference typeReference, ICollection<CodeTypeReference> knownTypeReferences, bool isNonNillableReferenceType)
39
_isNonNillableReferenceTypes = new Dictionary<
MessagePartDescription
, bool>();
54
internal Dictionary<
MessagePartDescription
, ICollection<CodeTypeReference>> KnownTypes
59
_knownTypes = new Dictionary<
MessagePartDescription
, ICollection<CodeTypeReference>>();
89
foreach (
MessagePartDescription
part in message.Body.Parts)
100
private void AddKnownTypesForPart(OperationContractGenerationContext context,
MessagePartDescription
part, Dictionary<CodeTypeReference, object> operationKnownTypes)
160
foreach (
MessagePartDescription
bodyPart in messageDescription.Body.Parts)
168
private void ValidateForParameterMode(
MessagePartDescription
part)
184
public void AddMemberAttributes(XmlName messageName,
MessagePartDescription
part, CodeAttributeDeclarationCollection attributesImported, CodeAttributeDeclarationCollection typeAttributes, CodeAttributeDeclarationCollection fieldAttributes)
222
private bool IsNonNillableReferenceType(
MessagePartDescription
part)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageBodyDescription.cs (3)
14
private
MessagePartDescription
_returnValue;
26
foreach (
MessagePartDescription
mpd in other.Parts)
47
public
MessagePartDescription
ReturnValue
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (31)
490
MessagePartDescription
partDesc = CurrentSchemaImporter.ImportMessagePart(part, false/*isHeader*/, isEncoded);
722
MessagePartDescription
[] parts = CurrentSchemaImporter.ImportWrapperElement(elementName);
738
MessagePartDescription
part = parts[partIndex];
758
private bool CheckIsRef(MessageDescription requestMessage,
MessagePartDescription
part)
760
foreach (
MessagePartDescription
requestPart in requestMessage.Body.Parts)
768
private bool CompareMessageParts(
MessagePartDescription
x,
MessagePartDescription
y)
1230
MessagePartDescription
bodyPart = new MessagePartDescription(name, ns);
1472
internal
MessagePartDescription
ImportMessagePart(WsdlNS.MessagePart part, bool isHeader, bool isEncoded)
1474
MessagePartDescription
bodyPart = null;
1479
bodyPart = isHeader ? (
MessagePartDescription
)new MessageHeaderDescription(part.Name, String.Empty) : new MessagePartDescription(part.Name, String.Empty);
1487
internal
MessagePartDescription
ImportParameterElement(XmlQualifiedName elementName, bool isHeader, bool isMultiple)
1492
internal
MessagePartDescription
ImportParameterElement(XmlSchemaElement element, string ns, bool isHeader, bool isMultiple)
1499
MessagePartDescription
part = isHeader ? (
MessagePartDescription
)new MessageHeaderDescription(element.Name, ns) : new MessagePartDescription(element.Name, ns);
1531
internal abstract string ImportType(
MessagePartDescription
part, XmlQualifiedName typeName, bool isEncoded);
1533
internal abstract string ImportElement(
MessagePartDescription
part, XmlSchemaElement element, bool isEncoded);
1535
internal abstract
MessagePartDescription
[] ImportWrapperElement(XmlQualifiedName elementName);
1639
internal override
MessagePartDescription
[] ImportWrapperElement(XmlQualifiedName elementName)
1647
return new
MessagePartDescription
[0];
1652
MessagePartDescription
[] parts = new
MessagePartDescription
[rootSequence.Items.Count];
1666
internal override string ImportType(
MessagePartDescription
part, XmlQualifiedName typeName, bool isEncoded)
1697
internal override string ImportElement(
MessagePartDescription
part, XmlSchemaElement element, bool isEncoded)
1996
internal override
MessagePartDescription
[] ImportWrapperElement(XmlQualifiedName elementName)
2004
MessagePartDescription
part = new MessagePartDescription(xmlName, member.Namespace == null ? string.Empty : member.Namespace);
2009
return (
MessagePartDescription
[])parts.ToArray(typeof(
MessagePartDescription
));
2042
internal override string ImportType(
MessagePartDescription
part, XmlQualifiedName typeName, bool isEncoded)
2057
internal override string ImportElement(
MessagePartDescription
part, XmlSchemaElement element, bool isEncoded)
2065
private string AddPartType(
MessagePartDescription
part, XmlMembersMapping membersMapping, bool isEncoded)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageHeaderDescription.cs (1)
32
internal override
MessagePartDescription
Clone()
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessagePartDescription.cs (2)
47
internal MessagePartDescription(
MessagePartDescription
other)
63
internal virtual
MessagePartDescription
Clone()
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessagePartDescriptionCollection.cs (2)
10
public class MessagePartDescriptionCollection : KeyedCollection<XmlQualifiedName,
MessagePartDescription
>
17
protected override XmlQualifiedName GetKeyForItem(
MessagePartDescription
item)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessagePropertyDescription.cs (1)
19
internal override
MessagePartDescription
Clone()
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (24)
22
void AddMemberAttributes(XmlName messageName,
MessagePartDescription
part, CodeAttributeDeclarationCollection attributesImported, CodeAttributeDeclarationCollection typeAttributes, CodeAttributeDeclarationCollection fieldAttributes);
28
private Dictionary<
MessagePartDescription
, CodeTypeReference> _parameterTypes;
29
private Dictionary<
MessagePartDescription
, CodeAttributeDeclarationCollection> _parameterAttributes;
30
private Dictionary<
MessagePartDescription
, string> _specialPartName;
36
internal Dictionary<
MessagePartDescription
, CodeAttributeDeclarationCollection> ParameterAttributes
41
_parameterAttributes = new Dictionary<
MessagePartDescription
, CodeAttributeDeclarationCollection>();
46
internal Dictionary<
MessagePartDescription
, CodeTypeReference> ParameterTypes
51
_parameterTypes = new Dictionary<
MessagePartDescription
, CodeTypeReference>();
56
internal Dictionary<
MessagePartDescription
, string> SpecialPartName
61
_specialPartName = new Dictionary<
MessagePartDescription
, string>();
66
internal void GenerateOperation(OperationContractGenerationContext context, ref OperationFormatStyle style, bool isEncoded, IWrappedBodyTypeGenerator wrappedBodyTypeGenerator, Dictionary<
MessagePartDescription
, ICollection<CodeTypeReference>> knownTypes)
99
private readonly Dictionary<
MessagePartDescription
, ICollection<CodeTypeReference>> _knownTypes;
122
internal MethodSignatureGenerator(OperationGenerator parent, OperationContractGenerationContext context, OperationFormatStyle style, bool isEncoded, IWrappedBodyTypeGenerator wrappedBodyTypeGenerator, Dictionary<
MessagePartDescription
, ICollection<CodeTypeReference>> knownTypes)
614
foreach (
MessagePartDescription
part in messageDescription.Body.Parts)
630
MessagePartDescription
wrapperPart = new MessagePartDescription(messageDescription.Body.WrapperName, messageDescription.Body.WrapperNamespace);
661
foreach (
MessagePartDescription
setting in _request.Body.Parts)
668
foreach (
MessagePartDescription
setting in _response.Body.Parts)
683
private void AddWrapperPart(XmlName messageName, IWrappedBodyTypeGenerator wrappedBodyTypeGenerator, IPartCodeGenerator partGenerator,
MessagePartDescription
part, CodeAttributeDeclarationCollection typeAttributes)
703
private void GenerateBodyPart(int order,
MessagePartDescription
messagePart, IPartCodeGenerator partCodeGenerator, bool generateTypedMessage, bool isEncoded, string defaultNS)
737
private CodeTypeReference GetParameterType(
MessagePartDescription
setting)
747
private void AddAdditionalAttributes(
MessagePartDescription
setting, CodeAttributeDeclarationCollection attributes, bool isAdditionalAttributesAllowed)
837
internal static void GenerateMessageBodyMemberAttribute(int order,
MessagePartDescription
setting, CodeAttributeDeclarationCollection attributes, XmlName defaultName)
850
private static void GenerateMessageContractMemberAttribute<T>(int order,
MessagePartDescription
setting, CodeAttributeDeclarationCollection attrs, XmlName defaultName)
872
internal static void GenerateMessageParameterAttribute(
MessagePartDescription
setting, CodeAttributeDeclarationCollection attributes, XmlName defaultName, string defaultNS)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (5)
646
Array.Sort((
MessagePartDescription
[])xHeaders, MessagePartDescriptionComparer.Singleton);
647
Array.Sort((
MessagePartDescription
[])yHeaders, MessagePartDescriptionComparer.Singleton);
663
private class MessagePartDescriptionComparer : IComparer<
MessagePartDescription
>
668
public int Compare(
MessagePartDescription
p1,
MessagePartDescription
p2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (13)
641
internal static int CompareMessagePartDescriptions(
MessagePartDescription
a,
MessagePartDescription
b)
1228
MessagePartDescription
partDescription = CreateParameterPartDescription(new XmlName(parameters[index].Name), defaultNS, index, parameters[index], GetParameterType(parameters[index]));
1252
private static
MessagePartDescription
CreateParameterPartDescription(XmlName defaultName, string defaultNS, int index, CustomAttributeProvider attrProvider, Type type)
1254
MessagePartDescription
parameterPart;
1352
List<
MessagePartDescription
> bodyPartDescriptionList = new List<
MessagePartDescription
>();
1398
AddSortedParts<
MessagePartDescription
>(bodyPartDescriptionList, messageDescription.Body.Parts);
1413
private
MessagePartDescription
CreateMessagePartDescription(Type bodyType,
1420
MessagePartDescription
partDescription = null;
1541
where T :
MessagePartDescription
1543
MessagePartDescription
[] partDescriptions = partDescriptionList.ToArray();
1546
Array.Sort<
MessagePartDescription
>(partDescriptions, CompareMessagePartDescriptions);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (2)
440
MessagePartDescription
returnPart;
814
static internal XmlReflectionMember GetXmlReflectionMember(
MessagePartDescription
part, bool isRpc, bool isWrapped)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (7)
22
private Dictionary<
MessagePartDescription
, PartInfo> _partInfoTable;
35
_partInfoTable = new Dictionary<
MessagePartDescription
, PartInfo>();
57
internal void Add(
MessagePartDescription
part, XmlMemberMapping memberMapping, XmlMembersMapping membersMapping, bool isEncoded)
135
foreach (
MessagePartDescription
part in body.Parts)
145
_operationGenerator.GenerateOperation(context, ref style, xmlSerializerFormatAttribute.IsEncoded, new WrappedBodyTypeGenerator(context), new Dictionary<
MessagePartDescription
, ICollection<CodeTypeReference>>());
180
private void GeneratePartType(Dictionary<XmlMembersMapping, XmlMembersMapping> alreadyExported,
MessagePartDescription
part, string partNamespace)
241
public void AddMemberAttributes(XmlName messageName,
MessagePartDescription
part, CodeAttributeDeclarationCollection importedAttributes, CodeAttributeDeclarationCollection typeAttributes, CodeAttributeDeclarationCollection fieldAttributes)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (4)
136
private PartInfo CreatePartInfo(
MessagePartDescription
part, OperationFormatStyle style, DataContractSerializerOperationBehavior serializerFactory)
507
private
MessagePartDescription
_description;
514
public PartInfo(
MessagePartDescription
description, XmlDictionaryString dictionaryName, XmlDictionaryString dictionaryNamespace,
532
public
MessagePartDescription
Description
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (4)
485
internal static bool IsValidReturnValue(
MessagePartDescription
returnValue)
584
foreach (
MessagePartDescription
part in description.Headers)
587
foreach (
MessagePartDescription
part in description.Properties)
590
foreach (
MessagePartDescription
part in description.Body.Parts)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (5)
228
private static PartInfo AddToDictionary(XmlDictionary dictionary,
MessagePartDescription
part, bool isRpc)
292
private static bool IsTypeSupported(
MessagePartDescription
bodyDescription)
627
private
MessagePartDescription
_description;
631
public PartInfo(
MessagePartDescription
description, XmlDictionaryString dictionaryName, XmlDictionaryString dictionaryNamespace, XmlDictionaryString itemName, XmlDictionaryString itemNamespace)
650
public
MessagePartDescription
Description
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\StreamFormatter.cs (6)
30
MessagePartDescription
streamPart = ValidateAndGetStreamPart(messageDescription, isRequest, operationName);
36
private StreamFormatter(MessageDescription messageDescription,
MessagePartDescription
streamPart, string operationName, bool isRequest)
169
private static
MessagePartDescription
ValidateAndGetStreamPart(MessageDescription messageDescription, bool isRequest, string operationName)
171
MessagePartDescription
part = GetStreamPart(messageDescription);
190
foreach (
MessagePartDescription
part in messageDescription.Body.Parts)
198
private static
MessagePartDescription
GetStreamPart(MessageDescription messageDescription)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (4)
283
foreach (
MessagePartDescription
bodyPart in messageInfo.RpcEncodedTypedMessageBodyParts)
305
private void SerializeBody(XmlDictionaryWriter writer, MessageVersion version, XmlSerializer serializer,
MessagePartDescription
returnPart, MessagePartDescriptionCollection bodyParts, object returnValue, object[] parameters)
340
foreach (
MessagePartDescription
bodyPart in messageInfo.RpcEncodedTypedMessageBodyParts)
357
private object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, XmlSerializer serializer,
MessagePartDescription
returnPart, MessagePartDescriptionCollection bodyParts, object[] parameters, bool isRequest)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ChannelProtectionRequirements.cs (3)
269
if (!(message.Body.ReturnValue.GetType().Equals(typeof(
MessagePartDescription
))))
274
MessagePartDescription
desc = message.Body.ReturnValue;
285
foreach (
MessagePartDescription
body in message.Body.Parts)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrust.cs (1)
655
foreach (
MessagePartDescription
part in message.Body.Parts)