3 implementations of IChannelFactory
System.ServiceModel.Primitives (3)
System\ServiceModel\ChannelFactory.cs (1)
343
public class ChannelFactory<TChannel> : ChannelFactory,
IChannelFactory
<TChannel>
System\ServiceModel\Channels\ChannelFactoryBase.cs (1)
93
public abstract class ChannelFactoryBase<TChannel> : ChannelFactoryBase,
IChannelFactory
<TChannel>
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
725
internal class RequestChannelFactory : ChannelFactoryBase<IAsyncRequestChannel>,
IChannelFactory
<IRequestChannel>
109 references to IChannelFactory
Client.ChannelLayer.IntegrationTests (9)
DuplexChannelShapeTests.4.0.0.cs (2)
27
IChannelFactory
<IDuplexSessionChannel> factory = null;
82
IChannelFactory
<IDuplexSessionChannel> factory = null;
DuplexChannelShapeTests.4.1.0.cs (2)
24
IChannelFactory
<IDuplexSessionChannel> factory = null;
84
IChannelFactory
<IDuplexSessionChannel> factory = null;
RequestReplyChannelShapeTests.4.0.0.cs (4)
26
IChannelFactory
<IRequestChannel> factory = null;
77
IChannelFactory
<IRequestChannel> factory = null;
132
IChannelFactory
<IRequestChannel> factory = null;
185
IChannelFactory
<IRequestChannel> factory = null;
RequestReplyChannelShapeTests.4.1.0.cs (1)
25
IChannelFactory
<IRequestChannel> factory = null;
Contract.Message.IntegrationTests (1)
MessageTests.4.0.0.cs (1)
25
IChannelFactory
<IRequestChannel> factory = binding.BuildChannelFactory<IRequestChannel>(new BindingParameterCollection());
Extensibility.MessageEncoder.IntegrationTests (1)
CustomTextMessageBindingElement.cs (1)
120
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
Extensibility.MessageInterceptor.IntegrationTests (2)
InterceptingBindingElement.cs (1)
49
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
InterceptingChannelFactory.cs (1)
17
IChannelFactory
<TChannel> innerChannelFactory;
System.ServiceModel.Federation (2)
System\ServiceModel\Federation\WsFederationBindingElement.cs (2)
32
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
51
var
channelFactory = base.BuildChannelFactory<TChannel>(context);
System.ServiceModel.Http (9)
System\ServiceModel\BasicHttpBinding.cs (1)
52
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingParameterCollection parameters)
System\ServiceModel\BasicHttpsBinding.cs (1)
51
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingParameterCollection parameters)
System\ServiceModel\Channels\HttpsTransportBindingElement.cs (2)
72
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
89
return (
IChannelFactory
<TChannel>)(object)new HttpsChannelFactory<TChannel>(this, context);
System\ServiceModel\Channels\HttpTransportBindingElement.cs (2)
436
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
465
return (
IChannelFactory
<TChannel>)(object)new HttpChannelFactory<TChannel>(this, context);
System\ServiceModel\NetHttpBinding.cs (1)
92
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingParameterCollection parameters)
System\ServiceModel\NetHttpsBinding.cs (1)
84
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingParameterCollection parameters)
System\ServiceModel\WSHttpBinding.cs (1)
50
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingParameterCollection parameters)
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (1)
67
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (1)
40
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System.ServiceModel.NetNamedPipe (2)
System\ServiceModel\Channels\NamedPipeTransportBindingElement.cs (2)
54
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
66
return (
IChannelFactory
<TChannel>)(object)new NamedPipeChannelFactory<TChannel>(this, context);
System.ServiceModel.NetTcp (2)
System\ServiceModel\Channels\TcpTransportBindingElement.cs (2)
59
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
71
return (
IChannelFactory
<TChannel>)(object)new TcpChannelFactory<TChannel>(this, context);
System.ServiceModel.Primitives (70)
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (1)
182
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\Binding.cs (3)
169
public
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(params object[] parameters)
174
public virtual
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingParameterCollection parameters)
178
IChannelFactory
<TChannel> channelFactory = context.BuildInnerChannelFactory<TChannel>();
System\ServiceModel\Channels\BindingContext.cs (1)
58
public
IChannelFactory
<TChannel> BuildInnerChannelFactory<TChannel>()
System\ServiceModel\Channels\BindingElement.cs (1)
22
public virtual
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\ChannelBuilder.cs (2)
59
public
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>()
63
IChannelFactory
<TChannel> factory = _context.BuildInnerChannelFactory<TChannel>();
System\ServiceModel\Channels\ChannelDemuxer.cs (1)
108
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (13)
17
private
IChannelFactory
<TChannel> _factory;
20
protected ClientReliableChannelBinder(EndpointAddress to, Uri via,
IChannelFactory
<TChannel> factory,
79
IChannelFactory
<TChannel> factory, MaskingMode maskingMode, TolerateFaultsMode faultMode,
87
return new DuplexClientReliableChannelBinder(to, via, (
IChannelFactory
<IDuplexChannel>)(object)factory, maskingMode,
92
return new DuplexSessionClientReliableChannelBinder(to, via, (
IChannelFactory
<IDuplexSessionChannel>)(object)factory, maskingMode,
97
return new RequestClientReliableChannelBinder(to, via, (
IChannelFactory
<IRequestChannel>)(object)factory, maskingMode,
102
return new RequestSessionClientReliableChannelBinder(to, via, (
IChannelFactory
<IRequestSessionChannel>)(object)factory, maskingMode,
228
IChannelFactory
<TDuplexChannel> factory, MaskingMode maskingMode, TolerateFaultsMode faultMode,
312
IChannelFactory
<IDuplexChannel> factory, MaskingMode maskingMode,
343
IChannelFactory
<IDuplexSessionChannel> factory, MaskingMode maskingMode, TolerateFaultsMode faultMode,
387
IChannelFactory
<TRequestChannel> factory, MaskingMode maskingMode, TolerateFaultsMode faultMode,
489
IChannelFactory
<IRequestChannel> factory, MaskingMode maskingMode,
520
IChannelFactory
<IRequestSessionChannel> factory, MaskingMode maskingMode, TolerateFaultsMode faultMode,
System\ServiceModel\Channels\LayeredChannelFactory.cs (1)
23
if (typeof(T) == typeof(
IChannelFactory
<TChannel>))
System\ServiceModel\Channels\MessageEncodingBindingElement.cs (1)
27
internal
IChannelFactory
<TChannel> InternalBuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (1)
154
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\ReliableChannelFactory.cs (3)
12
public ReliableChannelFactory(ReliableSessionBindingElement settings,
IChannelFactory
<InnerChannel> innerChannelFactory, Binding binding)
33
protected
IChannelFactory
<InnerChannel> InnerChannelFactory { get; }
43
if (typeof(T) == typeof(
IChannelFactory
<TChannel>))
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (9)
280
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
291
return (
IChannelFactory
<TChannel>)(object)
297
return (
IChannelFactory
<TChannel>)(object)
303
return (
IChannelFactory
<TChannel>)(object)
309
return (
IChannelFactory
<TChannel>)(object)
318
return (
IChannelFactory
<TChannel>)(object)
324
return (
IChannelFactory
<TChannel>)(object)
333
return (
IChannelFactory
<TChannel>)(object)
339
return (
IChannelFactory
<TChannel>)(object)
System\ServiceModel\Channels\SecurityBindingElement.cs (3)
325
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
355
IChannelFactory
<TChannel> result = BuildChannelFactoryCore<TChannel>(context);
360
protected abstract
IChannelFactory
<TChannel> BuildChannelFactoryCore<TChannel>(BindingContext context);
System\ServiceModel\Channels\SecurityChannelFactory.cs (6)
150
return (TChannel)(object)new SecurityOutputChannel(this, SecurityProtocolFactory, ((
IChannelFactory
<IOutputChannel>)InnerChannelFactory).CreateChannel(address, via), address, via);
154
return (TChannel)(object)new SecurityOutputSessionChannel(this, SecurityProtocolFactory, ((
IChannelFactory
<IOutputSessionChannel>)InnerChannelFactory).CreateChannel(address, via), address, via);
158
return (TChannel)(object)new SecurityDuplexChannel(this, SecurityProtocolFactory, ((
IChannelFactory
<IDuplexChannel>)InnerChannelFactory).CreateChannel(address, via), address, via);
162
return (TChannel)(object)new SecurityDuplexSessionChannel(this, SecurityProtocolFactory, ((
IChannelFactory
<IDuplexSessionChannel>)InnerChannelFactory).CreateChannel(address, via), address, via);
166
return (TChannel)(object)new SecurityRequestChannel(this, SecurityProtocolFactory, ((
IChannelFactory
<IRequestChannel>)InnerChannelFactory).CreateChannel(address, via), address, via);
170
return (TChannel)(object)new SecurityRequestSessionChannel(this, SecurityProtocolFactory, ((
IChannelFactory
<IRequestSessionChannel>)InnerChannelFactory).CreateChannel(address, via), address, via);
System\ServiceModel\Channels\ServiceChannelFactory.cs (8)
422
protected TypedServiceChannelFactory(
IChannelFactory
<TChannel> innerChannelFactory,
429
protected
IChannelFactory
<TChannel> InnerChannelFactory { get; }
513
public ServiceChannelFactoryOverOutput(
IChannelFactory
<IOutputChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding)
532
public ServiceChannelFactoryOverDuplex(
IChannelFactory
<IDuplexChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding)
552
public ServiceChannelFactoryOverRequest(
IChannelFactory
<IRequestChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding)
572
public ServiceChannelFactoryOverOutputSession(
IChannelFactory
<IOutputSessionChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding, bool datagramAdapter)
601
public ServiceChannelFactoryOverDuplexSession(
IChannelFactory
<IDuplexSessionChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding, bool useActiveAutoClose)
627
public ServiceChannelFactoryOverRequestSession(
IChannelFactory
<IRequestSessionChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding, bool datagramAdapter)
System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (1)
136
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\TransportBindingElement.cs (1)
87
internal static
IChannelFactory
<TChannel> CreateChannelFactory<TChannel>(TransportBindingElement transport)
System\ServiceModel\Channels\TransportSecurityBindingElement.cs (1)
86
protected override
IChannelFactory
<TChannel> BuildChannelFactoryCore<TChannel>(BindingContext context)
System\ServiceModel\Security\AcceleratedTokenProvider.cs (2)
118
protected override
IChannelFactory
<IAsyncRequestChannel> GetNegotiationChannelFactory(
IChannelFactory
<IAsyncRequestChannel> transportChannelFactory, ChannelBuilder channelBuilder)
System\ServiceModel\Security\NegotiationTokenProvider.cs (4)
19
private
IChannelFactory
<IAsyncRequestChannel> _rstChannelFactory;
110
protected abstract
IChannelFactory
<IAsyncRequestChannel> GetNegotiationChannelFactory(
IChannelFactory
<IAsyncRequestChannel> transportChannelFactory, ChannelBuilder channelBuilder);
114
IChannelFactory
<IAsyncRequestChannel> innerChannelFactory = null;
System\ServiceModel\Security\SecuritySessionClientSettings.cs (4)
499
ChannelBinder = ClientReliableChannelBinder<IDuplexSessionChannel>.CreateBinder(RemoteAddress, Via, (
IChannelFactory
<IDuplexSessionChannel>)(object)Settings.InnerChannelFactory,
504
ChannelBinder = ClientReliableChannelBinder<IDuplexChannel>.CreateBinder(RemoteAddress, Via, (
IChannelFactory
<IDuplexChannel>)(object)Settings.InnerChannelFactory,
510
ChannelBinder = ClientReliableChannelBinder<IRequestChannel>.CreateBinder(RemoteAddress, Via, (
IChannelFactory
<IRequestChannel>)(object)Settings.InnerChannelFactory,
515
ChannelBinder = ClientReliableChannelBinder<IRequestSessionChannel>.CreateBinder(RemoteAddress, Via, (
IChannelFactory
<IRequestSessionChannel>)(object)Settings.InnerChannelFactory,
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (3)
419
IChannelFactory
<IAsyncRequestChannel> cf;
792
IRequestChannel
IChannelFactory
<IRequestChannel>.CreateChannel(EndpointAddress to)
797
IRequestChannel
IChannelFactory
<IRequestChannel>.CreateChannel(EndpointAddress to, Uri via)
System.ServiceModel.Primitives.Tests (4)
Channels\CustomBindingTest.cs (1)
26
IChannelFactory
<IRequestChannel> factory = binding.BuildChannelFactory<IRequestChannel>(new BindingParameterCollection());
ServiceModel\ThrowingOnCloseBindingElement.cs (3)
27
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
52
private readonly
IChannelFactory
<TChannel> _innerFactory;
55
public ThrowingChannelFactory(ThrowingOnCloseBindingElement parent,
IChannelFactory
<TChannel> channelFactory)
System.ServiceModel.UnixDomainSocket (3)
System\ServiceModel\Channels\UnixDomainSocketTransportBindingElement.cs (2)
59
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
71
return (
IChannelFactory
<TChannel>)(object)new UnixDomainSocketChannelFactory<TChannel>(this, context);
System\ServiceModel\Channels\UnixPosixIdentityBindingElement.cs (1)
23
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
UnitTests.Common (2)
MockTransportBindingElement.cs (2)
47
public override
IChannelFactory
<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
49
return (
IChannelFactory
<TChannel>)BuildChannelFactoryOverride(typeof(TChannel), context);