3 overrides of BindingElements
System.ServiceModel (3)
System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
88
public override BindingElementCollection
BindingElements
{ get { return this.bindingElements; } }
System\ServiceModel\Description\MetadataExporter.cs (1)
97
public override BindingElementCollection
BindingElements
System\ServiceModel\Description\MetadataImporter.cs (1)
150
public override BindingElementCollection
BindingElements
{ get { return this.bindingElements; } }
53 references to BindingElements
System.ServiceModel (50)
System\ServiceModel\Channels\CompositeDuplexBindingElementImporter.cs (1)
35
context.
BindingElements
.Add(new CompositeDuplexBindingElement());
System\ServiceModel\Channels\ConnectionOrientedTransportBindingElement.cs (1)
334
MessageEncodingBindingElement encodingBindingElement = FindMessageEncodingBindingElement(context.
BindingElements
, out createdNew);
System\ServiceModel\Channels\ContextBindingElementImporter.cs (3)
125
if (context.
BindingElements
== null)
134
context.
BindingElements
.Insert(0, contextBindingElement);
138
foreach (BindingElement bindingElement in context.
BindingElements
)
System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
721
MessageEncodingBindingElement encodingBindingElement = FindMessageEncodingBindingElement(context.
BindingElements
, out createdNew);
System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (1)
194
context.
BindingElements
.Add(encodingBindingElement);
System\ServiceModel\Channels\MsmqBindingElementBase.cs (1)
359
MessageEncodingBindingElement encodingBindingElement = FindMessageEncodingBindingElement(context.
BindingElements
, out createdNew);
System\ServiceModel\Channels\OneWayBindingElement.cs (2)
313
if (context.
BindingElements
!= null)
315
OneWayBindingElement oneWay = context.
BindingElements
.Find<OneWayBindingElement>();
System\ServiceModel\Channels\OneWayBindingElementImporter.cs (2)
35
context.
BindingElements
.Add(bindingElement);
52
context.
BindingElements
.Add(new OneWayBindingElement());
System\ServiceModel\Channels\PeerTransportBindingElement.cs (1)
169
MessageEncodingBindingElement encodingBindingElement = FindMessageEncodingBindingElement(context.
BindingElements
, out createdNew);
System\ServiceModel\Channels\PrivacyNoticeBindingElement.cs (2)
81
if (context.
BindingElements
!= null)
84
context.
BindingElements
.Find<PrivacyNoticeBindingElement>();
System\ServiceModel\Channels\PrivacyNoticeBindingElementImporter.cs (2)
30
policyContext.
BindingElements
.Find<PrivacyNoticeBindingElement>();
35
policyContext.
BindingElements
.Add(settings);
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (2)
610
if (context.
BindingElements
!= null)
612
BindingElementCollection bindingElements = context.
BindingElements
;
System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (2)
82
ReliableSessionBindingElement settings = context.
BindingElements
.Find<ReliableSessionBindingElement>();
87
context.
BindingElements
.Add(settings);
System\ServiceModel\Channels\SecurityBindingElement.cs (9)
2034
if ((context != null) && (context.
BindingElements
!= null))
2036
foreach (BindingElement be in context.
BindingElements
)
2108
if ((context != null) && (context.
BindingElements
!= null))
2110
foreach (BindingElement be in context.
BindingElements
)
2226
if ((policyContext != null) && (policyContext.
BindingElements
!= null))
2228
foreach (BindingElement be in policyContext.
BindingElements
)
2259
MessageEncodingBindingElement messageEncoderBindingElement = policyContext.
BindingElements
.Find<MessageEncodingBindingElement>();
2333
bindingParameters.Add(ChannelProtectionRequirements.CreateFromContract(policyContext.Contract, policyContext.
BindingElements
.Find<SecurityBindingElement>().GetIndividualProperty<ISecurityCapabilities>(), false));
2334
ChannelProtectionRequirements protectionRequirements = SecurityBindingElement.ComputeProtectionRequirements(security, bindingParameters, policyContext.
BindingElements
, true);
System\ServiceModel\Channels\SecurityBindingElementImporter.cs (3)
536
policyContext.
BindingElements
.Add(binding);
560
policyContext.
BindingElements
.Add(binding);
598
policyContext.
BindingElements
.Add(binding);
System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (1)
189
policyContext.
BindingElements
.Add(sslBindingElement);
System\ServiceModel\Channels\TransactionFlowBindingElement.cs (1)
413
TransactionFlowBindingElement bindingElement = context.
BindingElements
.Find<TransactionFlowBindingElement>();
System\ServiceModel\Channels\TransactionFlowBindingElementImporter.cs (2)
198
TransactionFlowBindingElement settings = context.
BindingElements
.Find<TransactionFlowBindingElement>();
202
context.
BindingElements
.Add(settings);
System\ServiceModel\Channels\TransportBindingElementImporter.cs (2)
127
if (transportUri != null && !policyContext.
BindingElements
.Contains(typeof(TransportBindingElement)))
137
policyContext.
BindingElements
.Add(transportBindingElement);
System\ServiceModel\Channels\TransportSecurityBindingElement.cs (1)
304
if (policyContext.
BindingElements
.Find<ITransportTokenAssertionProvider>() == null)
System\ServiceModel\Channels\UseManagedPresentationBindingElement.cs (2)
37
if (context.
BindingElements
!= null)
40
context.
BindingElements
.Find<UseManagedPresentationBindingElement>();
System\ServiceModel\Channels\UseManagedPresentationBindingElementImporter.cs (2)
30
policyContext.
BindingElements
.Find<UseManagedPresentationBindingElement>();
35
policyContext.
BindingElements
.Add(settings);
System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (1)
157
policyContext.
BindingElements
.Add(windowsBindingElement);
System\ServiceModel\Description\WsdlImporter.cs (3)
1606
return policyConversionContext.
BindingElements
;
1624
firstContext.
BindingElements
.Insert(0, CollectUnrecognizedAssertions(firstContext, endpointContext));
1626
return firstContext.
BindingElements
;
System\ServiceModel\Security\WSSecurityPolicy.cs (2)
1352
bindingParameters.Add(ChannelProtectionRequirements.CreateFromContract(policyContext.Contract, policyContext.
BindingElements
.Find<SecurityBindingElement>().GetIndividualProperty<ISecurityCapabilities>(), false));
1353
ChannelProtectionRequirements protectionRequirements = SecurityBindingElement.ComputeProtectionRequirements(security, bindingParameters, policyContext.
BindingElements
, true);
System.ServiceModel.Channels (3)
System\ServiceModel\Channels\UdpTransportBindingElement.cs (1)
272
MessageEncodingBindingElement encodingBindingElement = context.
BindingElements
.Find<MessageEncodingBindingElement>();
System\ServiceModel\Channels\UdpTransportImporter.cs (2)
48
if (transportUri != null && transportUri.Equals(UdpConstants.WsdlSoapUdpTransportUri, StringComparison.Ordinal) && !context.
BindingElements
.Contains(typeof(TransportBindingElement)))
54
context.
BindingElements
.Add(transport);