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