3 overrides of GetBindingAssertions
System.ServiceModel (3)
System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
90public override PolicyAssertionCollection GetBindingAssertions()
System\ServiceModel\Description\MetadataExporter.cs (1)
107public override PolicyAssertionCollection GetBindingAssertions()
System\ServiceModel\Description\MetadataImporter.cs (1)
152public override PolicyAssertionCollection GetBindingAssertions()
64 references to GetBindingAssertions
System.ServiceModel (62)
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (1)
258policyContext.GetBindingAssertions().Add(document.CreateElement(
System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (1)
188context.GetBindingAssertions().Add(CreateCompositeDuplexAssertion());
System\ServiceModel\Channels\CompositeDuplexBindingElementImporter.cs (1)
29XmlElement compositeDuplexAssertion = PolicyConversionContext.FindAssertion(context.GetBindingAssertions(),
System\ServiceModel\Channels\ConnectionOrientedTransportBindingElement.cs (2)
325ICollection<XmlElement> policyAssertions = context.GetBindingAssertions(); 356if (PolicyConversionContext.FindAssertion(policyContext.GetBindingAssertions(), TransportPolicyConstants.StreamedName, TransportPolicyConstants.DotNetFramingNamespace, true) != null)
System\ServiceModel\Channels\ContextBindingElement.cs (1)
199ContextBindingElementPolicy.ExportRequireContextAssertion(this, context.GetBindingAssertions());
System\ServiceModel\Channels\ContextBindingElementImporter.cs (3)
132if (ContextBindingElementPolicy.TryImportRequireContextAssertion(context.GetBindingAssertions(), out contextBindingElement)) 136else if (ContextBindingElementPolicy.TryGetHttpUseCookieAssertion(context.GetBindingAssertions(), out httpUseCookieAssertion)) 144context.GetBindingAssertions().Remove(httpUseCookieAssertion);
System\ServiceModel\Channels\HttpsTransportBindingElement.cs (2)
175if (WSSecurityPolicy.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out sp)) 176sp.TryImportWsspHttpsTokenAssertion(importer, policyContext.GetBindingAssertions(), this);
System\ServiceModel\Channels\HttpTransportBindingElement.cs (4)
765policyContext.GetBindingAssertions().Add(new XmlDocument().CreateElement(TransportPolicyConstants.HttpTransportPrefix, 782policyContext.GetBindingAssertions().Add(root); 790policyContext.GetBindingAssertions().Add(new XmlDocument().CreateElement(TransportPolicyConstants.WebSocketPolicyPrefix, 801ICollection<XmlElement> bindingAssertions = policyContext.GetBindingAssertions();
System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (2)
183ICollection<XmlElement> assertions = context.GetBindingAssertions(); 187encodingBindingElement = CreateEncodingBindingElement(context.GetBindingAssertions(), out encodingAssertion);
System\ServiceModel\Channels\MsmqBindingElementBase.cs (2)
318ICollection<XmlElement> policyAssertions = context.GetBindingAssertions(); 370ICollection<XmlElement> policyAssertions = policyContext.GetBindingAssertions();
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (1)
216policyContext.GetBindingAssertions().Add(document.CreateElement(
System\ServiceModel\Channels\OneWayBindingElement.cs (1)
331context.GetBindingAssertions().Add(assertion);
System\ServiceModel\Channels\OneWayBindingElementImporter.cs (1)
29XmlElement oneWayAssertion = PolicyConversionContext.FindAssertion(context.GetBindingAssertions(),
System\ServiceModel\Channels\PrivacyNoticeBindingElement.cs (1)
98context.GetBindingAssertions().Add(assertion);
System\ServiceModel\Channels\PrivacyNoticeBindingElementImporter.cs (1)
25XmlElement privacyNoticeAssertion = PolicyConversionContext.FindAssertion(policyContext.GetBindingAssertions(),
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (1)
619context.GetBindingAssertions().Add(assertion);
System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (2)
52XmlElement reliableSessionAssertion = PolicyConversionContext.FindAssertion(context.GetBindingAssertions(), 62reliableSessionAssertion = PolicyConversionContext.FindAssertion(context.GetBindingAssertions(),
System\ServiceModel\Channels\SecurityBindingElement.cs (2)
1969policyContext.GetBindingAssertions().Add(assertion); 1977PolicyAssertionCollection existingAssertions = policyContext.GetBindingAssertions();
System\ServiceModel\Channels\SecurityBindingElementImporter.cs (12)
237ICollection<XmlElement> endpointBindingAssertions = policyContext.GetBindingAssertions(); 496this.ImportSupportingTokenAssertions(importer, policyContext, policyContext.GetBindingAssertions(), binding.EndpointSupportingTokenParameters, binding.OptionalEndpointSupportingTokenParameters); 499if (WSSecurityPolicy.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out securityPolicy)) 501if (!securityPolicy.TryImportWsspWssAssertion(importer, policyContext.GetBindingAssertions(), binding, out assertion) 507if (!securityPolicy.TryImportWsspTrustAssertion(importer, policyContext.GetBindingAssertions(), binding, out assertion) 529if (WSSecurityPolicy.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out securityPolicy)) 531if (securityPolicy.TryImportWsspSymmetricBindingAssertion(importer, policyContext, policyContext.GetBindingAssertions(), out binding, out assertion)) 553if (WSSecurityPolicy.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out securityPolicy)) 555if (securityPolicy.TryImportWsspAsymmetricBindingAssertion(importer, policyContext, policyContext.GetBindingAssertions(), out binding, out assertion)) 580if (WSSecurityPolicy.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out securityPolicy)) 582if (securityPolicy.TryImportWsspTransportBindingAssertion(importer, policyContext.GetBindingAssertions(), out binding, out assertion)) 647if (WSSecurityPolicy.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out securityPolicy))
System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (1)
172XmlElement assertion = PolicyConversionContext.FindAssertion(policyContext.GetBindingAssertions(),
System\ServiceModel\Channels\TransportBindingElementImporter.cs (1)
185ICollection<XmlElement> policyCollection = policyContext.GetBindingAssertions();
System\ServiceModel\Channels\UseManagedPresentationBindingElement.cs (1)
51context.GetBindingAssertions().Add(assertion);
System\ServiceModel\Channels\UseManagedPresentationBindingElementImporter.cs (1)
25XmlElement useManagedPresentationAssertion = PolicyConversionContext.FindAssertion(policyContext.GetBindingAssertions(),
System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (1)
134XmlElement assertion = PolicyConversionContext.FindAssertion(policyContext.GetBindingAssertions(),
System\ServiceModel\Description\MetadataImporter.cs (1)
108if (policyContext.GetBindingAssertions().Count != 0)
System\ServiceModel\Description\WsdlExporter.cs (2)
705context.GetBindingAssertions().Add(addressingAssertion); 732assertions = policyContext.GetBindingAssertions();
System\ServiceModel\Description\WsdlImporter.cs (8)
1106if (PolicyConversionContext.FindAssertion(policyContext.GetBindingAssertions(), 1112else if (PolicyConversionContext.FindAssertion(policyContext.GetBindingAssertions(), 1118else if (PolicyConversionContext.FindAssertion(policyContext.GetBindingAssertions(), 1133XmlElement addressingAssertion = PolicyConversionContext.FindAssertion(context.GetBindingAssertions(), 1338XmlElement policy = PolicyConversionContext.FindAssertion(policyContext.GetBindingAssertions(), key, workaroundNS, true); 1642UnrecognizedAssertionsBindingElement unknownBindingElement = new UnrecognizedAssertionsBindingElement(bindingQName, policyContext.GetBindingAssertions()); 1672if (policyContext.GetBindingAssertions().Count != 0) 1673AddUnImportedPolicyString(unImportedPolicyMessage, endpointContext.WsdlBinding, policyContext.GetBindingAssertions());
System\ServiceModel\PeerSecuritySettings.cs (2)
81XmlElement element = PolicyConversionContext.FindAssertion(context.GetBindingAssertions(), 135context.GetBindingAssertions().Add(element);
System\ServiceModel\PeerTransportSecuritySettings.cs (2)
50XmlElement element = PolicyConversionContext.FindAssertion(context.GetBindingAssertions(), 91context.GetBindingAssertions().Add(element);
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2693foreach (XmlElement e in sp.FilterWsspPolicyAssertions(policyContext.GetBindingAssertions()))
System.ServiceModel.Channels (2)
System\ServiceModel\Channels\UdpTransportBindingElement.cs (2)
281UdpTransportBindingElementPolicy.ExportRetransmissionEnabledAssertion(this, context.GetBindingAssertions()); 287ICollection<XmlElement> bindingAssertions = policyContext.GetBindingAssertions();