121 references to BindingParameters
System.ServiceModel (118)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (4)
238forward.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, isForService)); 335reverse.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, isForService)); 384SecurityCredentialsManager credentialsManager = context.BindingParameters.Find<SecurityCredentialsManager>(); 407SecurityCredentialsManager credentialsManager = context.BindingParameters.Find<SecurityCredentialsManager>();
System\ServiceModel\Channels\ChannelBuilder.cs (1)
26this.bindingParameters = context.BindingParameters;
System\ServiceModel\Channels\ChannelDemuxer.cs (10)
211if (context.BindingParameters != null) 213this.demuxFailureHandler = context.BindingParameters.Find<IChannelDemuxFailureHandler>(); 1646if (context.BindingParameters != null) 1648this.demuxFailureHandler = context.BindingParameters.Find<IChannelDemuxFailureHandler>(); 3613foreach (object parameter in context.BindingParameters) 3621context.BindingParameters.Clear(); 3624context.BindingParameters.Add(parameter); 3643ChannelDemuxerFilter filter = context.BindingParameters.Remove<ChannelDemuxerFilter>(); 3679if (!context.BindingParameters.Contains(this.cachedContextState.CachedBindingParameters[i].GetType())) 3681context.BindingParameters.Add(this.cachedContextState.CachedBindingParameters[i]);
System\ServiceModel\Channels\ConnectionOrientedTransportChannelFactory.cs (2)
52context.BindingParameters.FindAll<StreamUpgradeBindingElement>(); 61context.BindingParameters.Remove<StreamUpgradeBindingElement>();
System\ServiceModel\Channels\ConnectionOrientedTransportChannelListener.cs (2)
74context.BindingParameters.FindAll<StreamUpgradeBindingElement>(); 84context.BindingParameters.Remove<StreamUpgradeBindingElement>();
System\ServiceModel\Channels\EndpointSettings.cs (3)
16context.BindingParameters == null || 17context.BindingParameters.Count == 0) 22return GetValue<T>(context.BindingParameters, name, defaultValue);
System\ServiceModel\Channels\HttpChannelFactory.cs (4)
110Collection<HttpCookieContainerBindingElement> httpCookieContainerBindingElements = context.BindingParameters.FindAll<HttpCookieContainerBindingElement>(); 118context.BindingParameters.Remove<HttpCookieContainerBindingElement>(); 168this.channelCredentials = context.BindingParameters.Find<SecurityCredentialsManager>(); 175Collection<ClientWebSocketFactory> clientWebSocketFactories = context.BindingParameters.FindAll<ClientWebSocketFactory>();
System\ServiceModel\Channels\HttpChannelListener.cs (2)
110this.credentialProvider = context.BindingParameters.Find<SecurityCredentialsManager>(); 121this.httpMessageSettings = context.BindingParameters.Find<HttpMessageSettings>() ?? new HttpMessageSettings();
System\ServiceModel\Channels\HttpCookieContainerBindingElement.cs (1)
50context.BindingParameters.Add(this);
System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
33ClientCredentials credentials = context.BindingParameters.Find<ClientCredentials>();
System\ServiceModel\Channels\HttpsChannelListener.cs (1)
41context.BindingParameters.Find<SecurityCredentialsManager>();
System\ServiceModel\Channels\HttpsTransportBindingElement.cs (1)
149context.BindingParameters);
System\ServiceModel\Channels\HttpTransportBindingElement.cs (5)
496context.BindingParameters); 532if (context.BindingParameters.Find<MessageEncodingBindingElement>() == null) 534context.BindingParameters.Add(new TextMessageEncodingBindingElement()); 671context.BindingParameters); 690if (!AuthenticationSchemesBindingParameter.TryExtract(context.BindingParameters, out hostSchemes))
System\ServiceModel\Channels\InternalDuplexBindingElement.cs (1)
75LocalAddressProvider localAddressProvider = context.BindingParameters.Remove<LocalAddressProvider>();
System\ServiceModel\Channels\MessageEncodingBindingElement.cs (4)
42context.BindingParameters.Add(this); 54context.BindingParameters.Add(this); 67context.BindingParameters.Add(this); 80context.BindingParameters.Add(this);
System\ServiceModel\Channels\MsmqChannelFactoryBase.cs (1)
157SecurityCredentialsManager credentials = context.BindingParameters.Find<SecurityCredentialsManager>();
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (1)
158SecurityCredentialsManager credentials = context.BindingParameters.Find<SecurityCredentialsManager>();
System\ServiceModel\Channels\PeerCustomResolverBindingElement.cs (9)
56credentials = context.BindingParameters.Find<ClientCredentials>(); 114context.BindingParameters.Add(this); 115credentials = context.BindingParameters.Find<ClientCredentials>(); 124this.credentials = context.BindingParameters.Find<ClientCredentials>(); 125context.BindingParameters.Add(this); 135context.BindingParameters.Add(this); 136this.credentials = context.BindingParameters.Find<ClientCredentials>(); 145this.credentials = context.BindingParameters.Find<ClientCredentials>(); 146context.BindingParameters.Add(this);
System\ServiceModel\Channels\PeerSecurityManager.cs (5)
119ClientCredentials clientCredentials = context.BindingParameters.Find<ClientCredentials>(); 124ServiceCredentials serviceCredentials = context.BindingParameters.Find<ServiceCredentials>(); 129SecurityCredentialsManager credman = context.BindingParameters.Find<SecurityCredentialsManager>(); 190ChannelProtectionRequirements reqs = context.BindingParameters.Find<ChannelProtectionRequirements>(); 242ServiceSecurityAuditBehavior auditBehavior = context.BindingParameters.Find<ServiceSecurityAuditBehavior>();
System\ServiceModel\Channels\PeerTransportBindingElement.cs (4)
310= context.BindingParameters.FindAll<PeerCustomResolverBindingElement>(); 318context.BindingParameters.Remove<PeerCustomResolverBindingElement>(); 326= context.BindingParameters.FindAll<PeerResolverBindingElement>(); 358context.BindingParameters.Remove<PeerResolverBindingElement>();
System\ServiceModel\Channels\PnrpPeerResolverBindingElement.cs (4)
54context.BindingParameters.Add(this); 63context.BindingParameters.Add(this); 72context.BindingParameters.Add(this); 81context.BindingParameters.Add(this);
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (1)
415IMessageFilterTable<EndpointAddress> table = context.BindingParameters.Find<IMessageFilterTable<EndpointAddress>>();
System\ServiceModel\Channels\SecurityBindingElement.cs (3)
427return new BindingContext(binding, new BindingParameterCollection(issuerBindingContext.BindingParameters), issuerBindingContext.ListenUriBaseAddress, 432return new BindingContext(binding, new BindingParameterCollection(issuerBindingContext.BindingParameters)); 1937ServiceSecurityAuditBehavior auditBehavior = context.BindingParameters.Find<ServiceSecurityAuditBehavior>();
System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (4)
93context.BindingParameters.Add(this); 105context.BindingParameters.Add(this); 117context.BindingParameters.Add(this); 129context.BindingParameters.Add(this);
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (2)
63SecurityCredentialsManager credentialProvider = context.BindingParameters.Find<SecurityCredentialsManager>(); 78context.BindingParameters.Find<SecurityCredentialsManager>();
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (15)
177protocolFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, isForService)); 191SecurityCredentialsManager credentialsManager = context.BindingParameters.Find<SecurityCredentialsManager>(); 215scIssuerBindingContext.BindingParameters.Remove<ChannelProtectionRequirements>(); 216scIssuerBindingContext.BindingParameters.Add(scParameters.BootstrapProtectionRequirements); 231sessionFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, false)); 259protocolFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, false)); 278SecurityCredentialsManager credentialsManager = context.BindingParameters.Find<SecurityCredentialsManager>(); 301scIssuerBindingContext.BindingParameters.Remove<ChannelProtectionRequirements>(); 302scIssuerBindingContext.BindingParameters.Add(scParameters.BootstrapProtectionRequirements); 303IMessageFilterTable<EndpointAddress> endpointFilterTable = context.BindingParameters.Find<IMessageFilterTable<EndpointAddress>>(); 321sessionFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, true)); 339if (context.BindingParameters != null && context.BindingParameters.Find<IChannelDemuxFailureHandler>() == null 342context.BindingParameters.Add(new SecuritySessionServerSettings.SecuritySessionDemuxFailureHandler(sessionFactory.StandardsManager)); 358protocolFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, true));
System\ServiceModel\Channels\TransactionFlowBindingElement.cs (1)
283context.BindingParameters.Find<Dictionary<DirectionalAction, TransactionFlowOption>>();
System\ServiceModel\Channels\TransportBindingElement.cs (1)
121Collection<BindingElement> bindingElements = context.BindingParameters.FindAll<BindingElement>();
System\ServiceModel\Channels\TransportChannelFactory.cs (2)
39= context.BindingParameters.FindAll<MessageEncodingBindingElement>(); 48context.BindingParameters.Remove<MessageEncodingBindingElement>();
System\ServiceModel\Channels\TransportChannelListener.cs (3)
73= context.BindingParameters.FindAll<MessageEncodingBindingElement>(); 82context.BindingParameters.Remove<MessageEncodingBindingElement>(); 94ServiceSecurityAuditBehavior auditBehavior = context.BindingParameters.Find<ServiceSecurityAuditBehavior>();
System\ServiceModel\Channels\TransportSecurityBindingElement.cs (5)
83SecurityCredentialsManager credentialsManager = context.BindingParameters.Find<SecurityCredentialsManager>(); 173SecurityCredentialsManager credentialsManager = context.BindingParameters.Find<SecurityCredentialsManager>(); 229if (context.BindingParameters != null && context.BindingParameters.Find<IChannelDemuxFailureHandler>() == null 232context.BindingParameters.Add(new SecuritySessionServerSettings.SecuritySessionDemuxFailureHandler(sessionFactory.StandardsManager));
System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (4)
61context.BindingParameters.Add(this); 73context.BindingParameters.Add(this); 85context.BindingParameters.Add(this); 97context.BindingParameters.Add(this);
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (1)
44SecurityCredentialsManager credentialProvider = context.BindingParameters.Find<SecurityCredentialsManager>();
System\ServiceModel\Security\AcceleratedTokenAuthenticator.cs (1)
120SecurityCredentialsManager securityCredentials = this.IssuerBindingContext.BindingParameters.Find<SecurityCredentialsManager>();
System\ServiceModel\Security\AcceleratedTokenProvider.cs (1)
167SecurityCredentialsManager securityCredentials = this.IssuerBindingContext.BindingParameters.Find<SecurityCredentialsManager>();
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (2)
116spnegoTokenProvider.ApplicationProtectionRequirements = (issuerBindingContext != null) ? issuerBindingContext.BindingParameters.Find<ChannelProtectionRequirements>() : null; 205tlsnegoTokenProvider.ApplicationProtectionRequirements = (issuerBindingContext != null) ? issuerBindingContext.BindingParameters.Find<ChannelProtectionRequirements>() : null;
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (3)
1084SecurityCredentialsManager securityCredentials = this.IssuerBindingContext.BindingParameters.Find<SecurityCredentialsManager>(); 1197if (this.authenticator.IssuerBindingContext != null && this.authenticator.IssuerBindingContext.BindingParameters != null) 1199ServiceAuthenticationManager serviceAuthenticationManager = this.authenticator.IssuerBindingContext.BindingParameters.Find<ServiceAuthenticationManager>();
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (2)
366SecurityCredentialsManager securityCredentials = this.IssuerBindingContext.BindingParameters.Find<SecurityCredentialsManager>(); 407context.BindingParameters.Add(new LocalAddressProvider(localAddress, issueAndRenewFilter));
System\ServiceModel\Security\SecurityUtils.cs (1)
2051ClientCredentials clientCredentials = (context == null) ? null : context.BindingParameters.Find<ClientCredentials>();
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (2)
417VirtualPathExtension virtualPathExtension = context.BindingParameters.Find<VirtualPathExtension>(); 421HostedMetadataBindingParameter metadataBindingParameter = context.BindingParameters.Find<HostedMetadataBindingParameter>();
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpUtility.cs (1)
37MessageEncodingBindingElement messageEncoderBindingElement = context.BindingParameters.Remove<MessageEncodingBindingElement>();