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