21 references to Add
System.ServiceModel (21)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (3)
238forward.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, isForService)); 335reverse.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, isForService)); 434myRequirements.Add(context.GetInnerProperty<ChannelProtectionRequirements>() ?? new ChannelProtectionRequirements());
System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (1)
157myRequirements.Add(context.GetInnerProperty<ChannelProtectionRequirements>() ?? new ChannelProtectionRequirements());
System\ServiceModel\Channels\ContextBindingElement.cs (1)
219requirements.Add(ContextMessageHeader.GetChannelProtectionRequirements(this.ProtectionLevel));
System\ServiceModel\Channels\OneWayBindingElement.cs (1)
265myRequirements.Add(innerRequirements);
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (1)
228myRequirements.Add(context.GetInnerProperty<ChannelProtectionRequirements>() ?? new ChannelProtectionRequirements());
System\ServiceModel\Channels\SecurityBindingElement.cs (2)
1891result.Add(contractRequirements); 1928requirements.Add(s);
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (6)
177protocolFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, isForService)); 231sessionFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, false)); 259protocolFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, false)); 321sessionFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, true)); 358protocolFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, true)); 392myRequirements.Add(context.GetInnerProperty<ChannelProtectionRequirements>() ?? new ChannelProtectionRequirements());
System\ServiceModel\Channels\TransactionFlowBindingElement.cs (1)
310myRequirements.Add(context.GetInnerProperty<ChannelProtectionRequirements>() ?? new ChannelProtectionRequirements());
System\ServiceModel\Channels\TransportBindingElement.cs (1)
114myRequirements.Add(context.GetInnerProperty<ChannelProtectionRequirements>() ?? new ChannelProtectionRequirements());
System\ServiceModel\Channels\TransportSecurityBindingElement.cs (1)
283myRequirements.Add(context.GetInnerProperty<ChannelProtectionRequirements>() ?? new ChannelProtectionRequirements());
System\ServiceModel\Description\DispatcherBuilder.cs (2)
1353requirements.Add(ChannelProtectionRequirements.CreateFromContractAndUnionResponseProtectionRequirements(endpoint.Contract, isc, isForClient)); 1357requirements.Add(ChannelProtectionRequirements.CreateFromContract(endpoint.Contract, isc, isForClient));
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2674bootstrapProtection.Add(cpr);