6 instantiations of BindingContext
System.ServiceModel.Primitives (6)
System\ServiceModel\Channels\Binding.cs (3)
177BindingContext context = new BindingContext(new CustomBinding(this), parameters); 203BindingContext context = new BindingContext(new CustomBinding(this), parameters); 213BindingContext context = new BindingContext(new CustomBinding(this), parameters);
System\ServiceModel\Channels\BindingContext.cs (1)
85return new BindingContext(Binding, _remainingBindingElements, BindingParameters);
System\ServiceModel\Channels\BindingElement.cs (1)
46return GetProperty<T>(new BindingContext(new CustomBinding(), new BindingParameterCollection()));
System\ServiceModel\Channels\ServiceChannelFactory.cs (1)
116BindingContext context = new BindingContext(customBinding, parameters);
136 references to BindingContext
Extensibility.MessageEncoder.IntegrationTests (3)
CustomTextMessageBindingElement.cs (3)
120public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 129public override bool CanBuildChannelFactory<TChannel>(BindingContext context) 137public override T GetProperty<T>(BindingContext context)
Extensibility.MessageInterceptor.IntegrationTests (4)
InterceptingBindingElement.cs (3)
44public override bool CanBuildChannelFactory<TChannel>(BindingContext context) 49public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 54public override T GetProperty<T>(BindingContext context)
InterceptingChannelFactory.cs (1)
19public InterceptingChannelFactory(ChannelMessageInterceptor interceptor, BindingContext context)
System.ServiceModel.Federation (2)
System\ServiceModel\Federation\WsFederationBindingElement.cs (2)
27public override T GetProperty<T>(BindingContext context) 32public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System.ServiceModel.Http (7)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
45internal HttpChannelFactory(HttpTransportBindingElement bindingElement, BindingContext context)
System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
25internal HttpsChannelFactory(HttpsTransportBindingElement httpsBindingElement, BindingContext context)
System\ServiceModel\Channels\HttpsTransportBindingElement.cs (2)
72public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 97public override T GetProperty<T>(BindingContext context)
System\ServiceModel\Channels\HttpTransportBindingElement.cs (3)
362public override T GetProperty<T>(BindingContext context) 423public override bool CanBuildChannelFactory<TChannel>(BindingContext context) 436public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System.ServiceModel.NetFramingBase (16)
System\ServiceModel\Channels\ConnectionOrientedTransportBindingElement.cs (2)
99public override bool CanBuildChannelFactory<TChannel>(BindingContext context) 116public override T GetProperty<T>(BindingContext context)
System\ServiceModel\Channels\NetFramingTransportChannelFactory.cs (1)
22public NetFramingTransportChannelFactory(ConnectionOrientedTransportBindingElement bindingElement, BindingContext context,
System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (4)
67public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 78public override bool CanBuildChannelFactory<TChannel>(BindingContext context) 94public override T GetProperty<T>(BindingContext context) 116public override StreamUpgradeProvider BuildClientStreamUpgradeProvider(BindingContext context)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
51SslStreamSecurityBindingElement bindingElement, BindingContext context)
System\ServiceModel\Channels\StreamUpgradeBindingElement.cs (1)
17public abstract StreamUpgradeProvider BuildClientStreamUpgradeProvider(BindingContext context);
System\ServiceModel\Channels\TransportChannelFactory.cs (2)
14protected TransportChannelFactory(TransportBindingElement bindingElement, BindingContext context) 19protected TransportChannelFactory(TransportBindingElement bindingElement, BindingContext context,
System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (4)
40public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 51public override bool CanBuildChannelFactory<TChannel>(BindingContext context) 62public override StreamUpgradeProvider BuildClientStreamUpgradeProvider(BindingContext context) => new WindowsStreamSecurityUpgradeProvider(this, context); 64public override T GetProperty<T>(BindingContext context)
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (1)
26public WindowsStreamSecurityUpgradeProvider(WindowsStreamSecurityBindingElement bindingElement, BindingContext context)
System.ServiceModel.NetNamedPipe (3)
System\ServiceModel\Channels\NamedPipeChannelFactory.cs (1)
12public NamedPipeChannelFactory(NamedPipeTransportBindingElement bindingElement, BindingContext context)
System\ServiceModel\Channels\NamedPipeTransportBindingElement.cs (2)
54public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 69public override T GetProperty<T>(BindingContext context)
System.ServiceModel.NetTcp (3)
System\ServiceModel\Channels\TcpChannelFactory.cs (1)
11public TcpChannelFactory(TcpTransportBindingElement bindingElement, BindingContext context)
System\ServiceModel\Channels\TcpTransportBindingElement.cs (2)
59public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 74public override T GetProperty<T>(BindingContext context)
System.ServiceModel.Primitives (67)
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (4)
154private void VerifyCompression(BindingContext context) 170private void SetMaxReceivedMessageSizeFromTransport(BindingContext context) 182public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 207public override T GetProperty<T>(BindingContext context)
System\ServiceModel\Channels\Binding.cs (3)
177BindingContext context = new BindingContext(new CustomBinding(this), parameters); 203BindingContext context = new BindingContext(new CustomBinding(this), parameters); 213BindingContext context = new BindingContext(new CustomBinding(this), parameters);
System\ServiceModel\Channels\BindingContext.cs (3)
65BindingContext clone = Clone(); 78BindingContext clone = Clone(); 83public BindingContext Clone()
System\ServiceModel\Channels\BindingElement.cs (3)
22public virtual IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 32public virtual bool CanBuildChannelFactory<TChannel>(BindingContext context) 42public abstract T GetProperty<T>(BindingContext context) where T : class;
System\ServiceModel\Channels\ChannelBuilder.cs (2)
10private BindingContext _context; 12public ChannelBuilder(BindingContext context, bool addChannelDemuxerIfRequired)
System\ServiceModel\Channels\ChannelDemuxer.cs (4)
84private void SubstituteCachedBindingContextParametersIfNeeded(BindingContext context) 108public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 119public override bool CanBuildChannelFactory<TChannel>(BindingContext context) 134public override T GetProperty<T>(BindingContext context)
System\ServiceModel\Channels\MessageEncodingBindingElement.cs (3)
27internal IChannelFactory<TChannel> InternalBuildChannelFactory<TChannel>(BindingContext context) 38internal bool InternalCanBuildChannelFactory<TChannel>(BindingContext context) 51public override T GetProperty<T>(BindingContext context)
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (3)
154public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 159public override bool CanBuildChannelFactory<TChannel>(BindingContext context) 174public override T GetProperty<T>(BindingContext context)
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (4)
192public override T GetProperty<T>(BindingContext context) 280public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 348public override bool CanBuildChannelFactory<TChannel>(BindingContext context) 384private void VerifyTransportMode(BindingContext context)
System\ServiceModel\Channels\SecurityBindingElement.cs (13)
215protected static void SetIssuerBindingContextIfRequired(SecurityTokenParameters parameters, BindingContext issuerBindingContext) 220private static void SetIssuerBindingContextIfRequired(SupportingTokenParameters supportingParameters, BindingContext issuerBindingContext) 240private void SetIssuerBindingContextIfRequired(BindingContext issuerBindingContext) 276internal void ConfigureProtocolFactory(SecurityProtocolFactory factory, SecurityCredentialsManager credentialsManager, bool isForService, BindingContext issuerBindingContext, Binding binding) 322internal abstract SecurityProtocolFactory CreateSecurityProtocolFactory<TChannel>(BindingContext context, SecurityCredentialsManager credentialsManager, 323bool isForService, BindingContext issuanceBindingContext); 325public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 360protected abstract IChannelFactory<TChannel> BuildChannelFactoryCore<TChannel>(BindingContext context); 362public override bool CanBuildChannelFactory<TChannel>(BindingContext context) 384private bool CanBuildSessionChannelFactory<TChannel>(BindingContext context) 423public override T GetProperty<T>(BindingContext context) 445private ISecurityCapabilities GetSecurityCapabilities(BindingContext context) 464internal void ApplyPropertiesOnDemuxer(ChannelBuilder builder, BindingContext context)
System\ServiceModel\Channels\SecurityChannelFactory.cs (4)
16public SecurityChannelFactory(ISecurityCapabilities securityCapabilities, BindingContext context, 24public SecurityChannelFactory(ISecurityCapabilities securityCapabilities, BindingContext context, ChannelBuilder channelBuilder, SecurityProtocolFactory protocolFactory) 29public SecurityChannelFactory(ISecurityCapabilities securityCapabilities, BindingContext context, ChannelBuilder channelBuilder, SecurityProtocolFactory protocolFactory, IChannelFactory innerChannelFactory) 35private SecurityChannelFactory(ISecurityCapabilities securityCapabilities, BindingContext context, ChannelBuilder channelBuilder, IChannelFactory innerChannelFactory)
System\ServiceModel\Channels\ServiceChannelFactory.cs (1)
116BindingContext context = new BindingContext(customBinding, parameters);
System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (2)
136public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 151public override T GetProperty<T>(BindingContext context)
System\ServiceModel\Channels\TransportBindingElement.cs (2)
94public override T GetProperty<T>(BindingContext context) 143internal ChannelProtectionRequirements GetProtectionRequirements(BindingContext context)
System\ServiceModel\Channels\TransportChannelFactory.cs (2)
15protected TransportChannelFactory(TransportBindingElement bindingElement, BindingContext context) 20protected TransportChannelFactory(TransportBindingElement bindingElement, BindingContext context,
System\ServiceModel\Channels\TransportSecurityBindingElement.cs (5)
67internal override SecurityProtocolFactory CreateSecurityProtocolFactory<TChannel>(BindingContext context, SecurityCredentialsManager credentialsManager, bool isForService, BindingContext issuerBindingContext) 86protected override IChannelFactory<TChannel> BuildChannelFactoryCore<TChannel>(BindingContext context) 110BindingContext issuerBindingContext = context.Clone(); 177public override T GetProperty<T>(BindingContext context)
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (2)
201BindingContext issuerBindingContext = initiatorRequirement.GetProperty<BindingContext>(ServiceModelSecurityTokenRequirement.IssuerBindingContextProperty);
System\ServiceModel\Security\NegotiationTokenProvider.cs (2)
21private BindingContext _issuanceBindingContext; 29public BindingContext IssuerBindingContext
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (3)
26private BindingContext _issuerBindingContext; 109public BindingContext IssuerBindingContext 332BindingContext context = IssuerBindingContext;
System\ServiceModel\Security\Tokens\SecureConversationSecurityTokenParameters.cs (2)
17private BindingContext _issuerBindingContext; 76internal BindingContext IssuerBindingContext
System.ServiceModel.Primitives.Tests (17)
Channels\CustomChannelTest.cs (10)
33Func<Type, BindingContext, IChannelFactory> buildFactoryAction = (Type type, BindingContext context) => 123Func<Type, BindingContext, IChannelFactory> buildFactoryAction = (Type type, BindingContext context) => 217Func<Type, BindingContext, IChannelFactory> buildFactoryAction = (Type type, BindingContext context) => 268Func<Type, BindingContext, IChannelFactory> buildFactoryAction = (Type type, BindingContext context) => 325Func<Type, BindingContext, IChannelFactory> buildFactoryAction = (Type type, BindingContext context) =>
ServiceModel\MessageContractTest.4.4.0.cs (4)
151Func<Type, BindingContext, IChannelFactory> buildFactoryAction = (Type type, BindingContext context) => 251Func<Type, BindingContext, IChannelFactory> buildFactoryAction = (Type type, BindingContext context) =>
ServiceModel\ThrowingOnCloseBindingElement.cs (3)
27public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 32public override bool CanBuildChannelFactory<TChannel>(BindingContext context) 45public override T GetProperty<T>(BindingContext context)
System.ServiceModel.UnixDomainSocket (8)
System\ServiceModel\Channels\UnixDomainSocketChannelFactory.cs (1)
12public UnixDomainSocketChannelFactory(UnixDomainSocketTransportBindingElement bindingElement, BindingContext context)
System\ServiceModel\Channels\UnixDomainSocketTransportBindingElement.cs (2)
59public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 74public override T GetProperty<T>(BindingContext context)
System\ServiceModel\Channels\UnixPosixIdentityBindingElement.cs (4)
23public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 34public override bool CanBuildChannelFactory<TChannel>(BindingContext context) 45public override StreamUpgradeProvider BuildClientStreamUpgradeProvider(BindingContext context) => new UnixPosixIdentitySecurityUpgradeProvider(this, context); 47public override T GetProperty<T>(BindingContext context)
System\ServiceModel\Channels\UnixPosixIdentitySecurityUpgradeProvider.cs (1)
16public UnixPosixIdentitySecurityUpgradeProvider(UnixPosixIdentityBindingElement bindingElement, BindingContext context)
UnitTests.Common (6)
MockChannelFactory.cs (1)
11public MockChannelFactory(BindingContext context, MessageEncoderFactory encoderFactory)
MockTransportBindingElement.cs (5)
13BuildChannelFactoryOverride = (Type t, BindingContext bc) => DefaultBuildChannelFactory(t, bc); 17public Func<Type,BindingContext,IChannelFactory> BuildChannelFactoryOverride { get; set; } 42public override bool CanBuildChannelFactory<TChannel>(BindingContext context) 47public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 52public IChannelFactory DefaultBuildChannelFactory(Type tChannel, BindingContext context)