37 references to Headers
dotnet-svcutil-lib (37)
CodeDomFixup\NoMessageHeaderFixup.cs (3)
30
if (message.
Headers
!= null && message.
Headers
.Count > 0)
32
message.
Headers
.Clear();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (2)
314
foreach (MessageHeaderDescription header in message.
Headers
)
436
foreach (MessageHeaderDescription header in message.
Headers
)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
91
foreach (MessageHeaderDescription header in message.
Headers
)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (2)
1431
if (!description.
Headers
.Contains(this.CurrentSchemaImporter.GetPartName(part)))
1433
description.
Headers
.Add((MessageHeaderDescription)_schemaImporter.ImportMessagePart(part, true/*isHeader*/, isEncoded));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (4)
329
foreach (MessageHeaderDescription setting in message.
Headers
)
361
return (message.Body.Parts.Count == 0 && message.
Headers
.Count == 0);
921
if (parent._request.
Headers
.Count > 0)
931
if (!parent._oneway && parent._response.
Headers
.Count > 0)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (7)
637
if (x.
Headers
.Count != y.
Headers
.Count)
640
MessageHeaderDescription[] xHeaders = new MessageHeaderDescription[x.
Headers
.Count];
641
x.
Headers
.CopyTo(xHeaders, 0);
642
MessageHeaderDescription[] yHeaders = new MessageHeaderDescription[y.
Headers
.Count];
643
y.
Headers
.CopyTo(yHeaders, 0);
644
if (x.
Headers
.Count > 1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (3)
1183
for (int i = 0; i < messageDescription.
Headers
.Count; i++)
1185
MessageHeaderDescription header = messageDescription.
Headers
[i];
1399
AddSortedParts<MessageHeaderDescription>(headerPartDescriptionList, messageDescription.
Headers
);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (4)
274
foreach (MessageHeaderDescription header in message.
Headers
)
408
foreach (MessageHeaderDescription header in message.
Headers
)
471
int headerCount = message.
Headers
.Count;
480
MessageHeaderDescription header = message.
Headers
[i];
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
126
foreach (MessageHeaderDescription header in message.
Headers
)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (3)
115
messageInfo.HeaderParts = new PartInfo[messageDescription.
Headers
.Count];
116
for (int i = 0; i < messageDescription.
Headers
.Count; i++)
118
MessageHeaderDescription headerDescription = messageDescription.
Headers
[i];
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (2)
582
_members = new MemberInfo[description.Body.Parts.Count + description.Properties.Count + description.
Headers
.Count];
584
foreach (MessagePartDescription part in description.
Headers
)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (2)
257
if (requestMessage.
Headers
.Count > 0)
265
if (responseMessage.
Headers
.Count > 0)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (2)
66
foreach (MessageHeaderDescription headerDescription in messageDescription.
Headers
)
220
foreach (MessageHeaderDescription headerDescription in messageDescription.
Headers
)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ChannelProtectionRequirements.cs (1)
254
foreach (MessageHeaderDescription header in message.
Headers
)