3 references to CreateFromContract
System.ServiceModel (3)
System\ServiceModel\Channels\SecurityBindingElement.cs (1)
2333bindingParameters.Add(ChannelProtectionRequirements.CreateFromContract(policyContext.Contract, policyContext.BindingElements.Find<SecurityBindingElement>().GetIndividualProperty<ISecurityCapabilities>(), false));
System\ServiceModel\Description\DispatcherBuilder.cs (1)
1357requirements.Add(ChannelProtectionRequirements.CreateFromContract(endpoint.Contract, isc, isForClient));
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
1352bindingParameters.Add(ChannelProtectionRequirements.CreateFromContract(policyContext.Contract, policyContext.BindingElements.Find<SecurityBindingElement>().GetIndividualProperty<ISecurityCapabilities>(), false));