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