3 implementations of IChannelFactory
System.ServiceModel (3)
System\ServiceModel\ChannelFactory.cs (1)
520public class ChannelFactory<TChannel> : ChannelFactory, IChannelFactory<TChannel>
System\ServiceModel\Channels\ChannelFactoryBase.cs (1)
87public abstract class ChannelFactoryBase<TChannel> : ChannelFactoryBase, IChannelFactory<TChannel>
System\ServiceModel\Security\WSTrustFeb2005.cs (1)
294public class RequestChannelFactory<TokenService> : ChannelFactoryBase, IChannelFactory<IRequestChannel>
158 references to IChannelFactory
System.ServiceModel (129)
System\ServiceModel\BasicHttpBinding.cs (1)
141public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingParameterCollection parameters)
System\ServiceModel\BasicHttpsBinding.cs (1)
77public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingParameterCollection parameters)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (1)
373protected override IChannelFactory<TChannel> BuildChannelFactoryCore<TChannel>(BindingContext context)
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (1)
198public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\Binding.cs (3)
172public IChannelFactory<TChannel> BuildChannelFactory<TChannel>(params object[] parameters) 177public virtual IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingParameterCollection parameters) 181IChannelFactory<TChannel> channelFactory = context.BuildInnerChannelFactory<TChannel>();
System\ServiceModel\Channels\BindingContext.cs (1)
104public IChannelFactory<TChannel> BuildInnerChannelFactory<TChannel>()
System\ServiceModel\Channels\BindingElement.cs (1)
21public virtual IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\ChannelBuilder.cs (2)
77public IChannelFactory<TChannel> BuildChannelFactory<TChannel>() 81IChannelFactory<TChannel> factory = this.context.BuildInnerChannelFactory<TChannel>();
System\ServiceModel\Channels\ChannelDemuxer.cs (1)
3629public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (13)
18IChannelFactory<TChannel> factory; 22protected ClientReliableChannelBinder(EndpointAddress to, Uri via, IChannelFactory<TChannel> factory, 126IChannelFactory<TChannel> factory, MaskingMode maskingMode, TolerateFaultsMode faultMode, 134return new DuplexClientReliableChannelBinder(to, via, (IChannelFactory<IDuplexChannel>)(object)factory, maskingMode, 139return new DuplexSessionClientReliableChannelBinder(to, via, (IChannelFactory<IDuplexSessionChannel>)(object)factory, maskingMode, 144return new RequestClientReliableChannelBinder(to, via, (IChannelFactory<IRequestChannel>)(object)factory, maskingMode, 149return new RequestSessionClientReliableChannelBinder(to, via, (IChannelFactory<IRequestSessionChannel>)(object)factory, maskingMode, 323IChannelFactory<TDuplexChannel> factory, MaskingMode maskingMode, TolerateFaultsMode faultMode, 413IChannelFactory<IDuplexChannel> factory, MaskingMode maskingMode, 444IChannelFactory<IDuplexSessionChannel> factory, MaskingMode maskingMode, TolerateFaultsMode faultMode, 501IChannelFactory<TRequestChannel> factory, MaskingMode maskingMode, TolerateFaultsMode faultMode, 671IChannelFactory<IRequestChannel> factory, MaskingMode maskingMode, 702IChannelFactory<IRequestSessionChannel> factory, MaskingMode maskingMode, TolerateFaultsMode faultMode,
System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (1)
49public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\ContextBindingElement.cs (1)
122public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\ContextChannelFactory.cs (5)
45return (TChannel)(object)new ContextOutputChannel(this, ((IChannelFactory<IOutputChannel>)this.InnerChannelFactory).CreateChannel(address, via), this.contextExchangeMechanism, this.callbackAddress, this.contextManagementEnabled); 49return (TChannel)(object)new ContextOutputSessionChannel(this, ((IChannelFactory<IOutputSessionChannel>)this.InnerChannelFactory).CreateChannel(address, via), this.contextExchangeMechanism, this.callbackAddress, this.contextManagementEnabled); 53return (TChannel)(object)new ContextRequestChannel(this, ((IChannelFactory<IRequestChannel>)this.InnerChannelFactory).CreateChannel(address, via), this.contextExchangeMechanism, this.callbackAddress, this.contextManagementEnabled); 57return (TChannel)(object)new ContextRequestSessionChannel(this, ((IChannelFactory<IRequestSessionChannel>)this.InnerChannelFactory).CreateChannel(address, via), this.contextExchangeMechanism, this.callbackAddress, this.contextManagementEnabled); 61return (TChannel)(object)new ContextDuplexSessionChannel(this, ((IChannelFactory<IDuplexSessionChannel>)this.InnerChannelFactory).CreateChannel(address, via), this.contextExchangeMechanism, via, this.callbackAddress, this.contextManagementEnabled);
System\ServiceModel\Channels\HttpCookieContainerBindingElement.cs (1)
34public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\HttpsTransportBindingElement.cs (2)
94public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 111return (IChannelFactory<TChannel>)(object)new HttpsChannelFactory<TChannel>(this, context);
System\ServiceModel\Channels\HttpTransportBindingElement.cs (2)
567public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 596return (IChannelFactory<TChannel>)(object)new HttpChannelFactory<TChannel>(this, context);
System\ServiceModel\Channels\InternalDuplexBindingElement.cs (3)
51public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 64IChannelFactory<IOutputChannel> innerChannelFactory = context.Clone().BuildInnerChannelFactory<IOutputChannel>(); 76return (IChannelFactory<TChannel>)(object)
System\ServiceModel\Channels\InternalDuplexChannelFactory.cs (2)
14IChannelFactory<IOutputChannel> innerChannelFactory; 21IChannelFactory<IOutputChannel> innerChannelFactory, LocalAddressProvider localAddressProvider)
System\ServiceModel\Channels\InternalDuplexChannelListener.cs (1)
11IChannelFactory<IOutputChannel> innerChannelFactory;
System\ServiceModel\Channels\LayeredChannelFactory.cs (1)
27if (typeof(T) == typeof(IChannelFactory<TChannel>))
System\ServiceModel\Channels\MessageEncodingBindingElement.cs (1)
34internal IChannelFactory<TChannel> InternalBuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\MsmqTransportBindingElement.cs (3)
122public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 133return (IChannelFactory<TChannel>)(object)factory; 139return (IChannelFactory<TChannel>)(object)factory;
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (1)
162public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\NamedPipeTransportBindingElement.cs (2)
93public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 105return (IChannelFactory<TChannel>)(object)new NamedPipeChannelFactory<TChannel>(this, context);
System\ServiceModel\Channels\OneWayBindingElement.cs (4)
89public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 105return (IChannelFactory<TChannel>)(object)new DuplexOneWayChannelFactory(this, context); 111return (IChannelFactory<TChannel>)(object)new DuplexSessionOneWayChannelFactory(this, context); 117return (IChannelFactory<TChannel>)(object)new RequestOneWayChannelFactory(this, context);
System\ServiceModel\Channels\OneWayChannelFactory.cs (5)
91((IChannelFactory<IRequestChannel>)this.InnerChannelFactory).CreateChannel(to, via); 255IChannelFactory<IDuplexChannel> innnerFactory; 261this.innnerFactory = (IChannelFactory<IDuplexChannel>)this.InnerChannelFactory; 435IChannelFactory<IDuplexSessionChannel> innerFactory; 447this.innerFactory = (IChannelFactory<IDuplexSessionChannel>)factory.InnerChannelFactory;
System\ServiceModel\Channels\PeerCustomResolverBindingElement.cs (1)
108public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\PeerTransportBindingElement.cs (1)
215public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\PnrpPeerResolverBindingElement.cs (1)
49public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\ReliableChannelFactory.cs (4)
24IChannelFactory<InnerChannel> innerChannelFactory; 26public ReliableChannelFactory(ReliableSessionBindingElement settings, IChannelFactory<InnerChannel> innerChannelFactory, Binding binding) 63protected IChannelFactory<InnerChannel> InnerChannelFactory 100if (typeof(T) == typeof(IChannelFactory<TChannel>))
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (9)
307public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 321return (IChannelFactory<TChannel>)(object) 327return (IChannelFactory<TChannel>)(object) 333return (IChannelFactory<TChannel>)(object) 339return (IChannelFactory<TChannel>)(object) 348return (IChannelFactory<TChannel>)(object) 354return (IChannelFactory<TChannel>)(object) 363return (IChannelFactory<TChannel>)(object) 369return (IChannelFactory<TChannel>)(object)
System\ServiceModel\Channels\SecurityBindingElement.cs (3)
625public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 649IChannelFactory<TChannel> result = this.BuildChannelFactoryCore<TChannel>(context); 666protected abstract IChannelFactory<TChannel> BuildChannelFactoryCore<TChannel>(BindingContext context);
System\ServiceModel\Channels\SecurityChannelFactory.cs (6)
205return (TChannel)(object)new SecurityOutputChannel(this, this.securityProtocolFactory, ((IChannelFactory<IOutputChannel>)this.InnerChannelFactory).CreateChannel(address, via), address, via); 209return (TChannel)(object)new SecurityOutputSessionChannel(this, this.securityProtocolFactory, ((IChannelFactory<IOutputSessionChannel>)this.InnerChannelFactory).CreateChannel(address, via), address, via); 213return (TChannel)(object)new SecurityDuplexChannel(this, this.securityProtocolFactory, ((IChannelFactory<IDuplexChannel>)this.InnerChannelFactory).CreateChannel(address, via), address, via); 217return (TChannel)(object)new SecurityDuplexSessionChannel(this, this.securityProtocolFactory, ((IChannelFactory<IDuplexSessionChannel>)this.InnerChannelFactory).CreateChannel(address, via), address, via); 221return (TChannel)(object)new SecurityRequestChannel(this, this.securityProtocolFactory, ((IChannelFactory<IRequestChannel>)this.InnerChannelFactory).CreateChannel(address, via), address, via); 225return (TChannel)(object)new SecurityRequestSessionChannel(this, this.securityProtocolFactory, ((IChannelFactory<IRequestSessionChannel>)this.InnerChannelFactory).CreateChannel(address, via), address, via);
System\ServiceModel\Channels\ServiceChannelFactory.cs (9)
428IChannelFactory<TChannel> innerChannelFactory; 430protected TypedServiceChannelFactory(IChannelFactory<TChannel> innerChannelFactory, 437protected IChannelFactory<TChannel> InnerChannelFactory 500public ServiceChannelFactoryOverOutput(IChannelFactory<IOutputChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding) 519public ServiceChannelFactoryOverDuplex(IChannelFactory<IDuplexChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding) 539public ServiceChannelFactoryOverRequest(IChannelFactory<IRequestChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding) 559public ServiceChannelFactoryOverOutputSession(IChannelFactory<IOutputSessionChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding, bool datagramAdapter) 596public ServiceChannelFactoryOverDuplexSession(IChannelFactory<IDuplexSessionChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding, bool useActiveAutoClose) 622public ServiceChannelFactoryOverRequestSession(IChannelFactory<IRequestSessionChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding, bool datagramAdapter)
System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (1)
85public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (1)
188protected override IChannelFactory<TChannel> BuildChannelFactoryCore<TChannel>(BindingContext context)
System\ServiceModel\Channels\TcpTransportBindingElement.cs (2)
148public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 160return (IChannelFactory<TChannel>)(object)new TcpChannelFactory<TChannel>(this, context);
System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (1)
144public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\TransactionChannelFactory.cs (1)
89TChannel innerChannel = ((IChannelFactory<TChannel>)InnerChannelFactory).CreateChannel(remoteAddress, via);
System\ServiceModel\Channels\TransactionFlowBindingElement.cs (1)
203public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\TransportBindingElement.cs (1)
91internal static IChannelFactory<TChannel> CreateChannelFactory<TChannel>(TransportBindingElement transport)
System\ServiceModel\Channels\TransportSecurityBindingElement.cs (1)
80protected override IChannelFactory<TChannel> BuildChannelFactoryCore<TChannel>(BindingContext context)
System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (1)
53public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (1)
58public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingParameterCollection parameters)
System\ServiceModel\MsmqIntegration\MsmqIntegrationBindingElement.cs (2)
92public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 106return (IChannelFactory<TChannel>)(object)factory;
System\ServiceModel\NetHttpBinding.cs (1)
115public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingParameterCollection parameters)
System\ServiceModel\NetHttpsBinding.cs (1)
108public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingParameterCollection parameters)
System\ServiceModel\Security\AcceleratedTokenProvider.cs (2)
164protected override IChannelFactory<IRequestChannel> GetNegotiationChannelFactory(IChannelFactory<IRequestChannel> transportChannelFactory, ChannelBuilder channelBuilder)
System\ServiceModel\Security\NegotiationTokenProvider.cs (4)
18IChannelFactory<IRequestChannel> rstChannelFactory; 108protected abstract IChannelFactory<IRequestChannel> GetNegotiationChannelFactory(IChannelFactory<IRequestChannel> transportChannelFactory, ChannelBuilder channelBuilder); 112IChannelFactory<IRequestChannel> innerChannelFactory = null;
System\ServiceModel\Security\SecuritySessionClientSettings.cs (4)
675this.channelBinder = ClientReliableChannelBinder<IDuplexSessionChannel>.CreateBinder(this.RemoteAddress, this.Via, (IChannelFactory<IDuplexSessionChannel>)(object)this.Settings.InnerChannelFactory, 680this.channelBinder = ClientReliableChannelBinder<IDuplexChannel>.CreateBinder(this.RemoteAddress, this.Via, (IChannelFactory<IDuplexChannel>)(object)this.Settings.InnerChannelFactory, 686this.channelBinder = ClientReliableChannelBinder<IRequestChannel>.CreateBinder(this.RemoteAddress, this.Via, (IChannelFactory<IRequestChannel>)(object)this.Settings.InnerChannelFactory, 691this.channelBinder = ClientReliableChannelBinder<IRequestSessionChannel>.CreateBinder(this.RemoteAddress, this.Via, (IChannelFactory<IRequestSessionChannel>)(object)this.Settings.InnerChannelFactory,
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (3)
29IChannelFactory<IRequestChannel> rstChannelFactory; 410IChannelFactory<IRequestChannel> innerChannelFactory; 491IChannelFactory<IRequestChannel> cf;
System\ServiceModel\Security\SspiNegotiationTokenProvider.cs (2)
70protected override IChannelFactory<IRequestChannel> GetNegotiationChannelFactory(IChannelFactory<IRequestChannel> transportChannelFactory, ChannelBuilder channelBuilder)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (1)
496IChannelFactory<IRequestChannel> channelFactory;
System\ServiceModel\Security\TrustDriver.cs (1)
163public abstract IChannelFactory<IRequestChannel> CreateFederationProxy(EndpointAddress address, Binding binding, KeyedByTypeCollection<IEndpointBehavior> channelBehaviors);
System\ServiceModel\Security\WSTrustDec2005.cs (1)
110public override IChannelFactory<IRequestChannel> CreateFederationProxy(EndpointAddress address, Binding binding, KeyedByTypeCollection<IEndpointBehavior> channelBehaviors)
System\ServiceModel\Security\WSTrustFeb2005.cs (1)
247public override IChannelFactory<IRequestChannel> CreateFederationProxy(EndpointAddress address, Binding binding, KeyedByTypeCollection<IEndpointBehavior> channelBehaviors)
System\ServiceModel\WSHttpBinding.cs (1)
98public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingParameterCollection parameters)
System.ServiceModel.Channels (3)
System\ServiceModel\Channels\ByteStreamMessageEncodingBindingElement.cs (1)
70public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\UdpTransportBindingElement.cs (2)
147public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 159return (IChannelFactory<TChannel>)(object)new UdpChannelFactory<TChannel>(new UdpTransportBindingElement(this), context);
System.ServiceModel.Discovery (18)
System\ServiceModel\Discovery\DiscoveryClientBindingElement.cs (1)
105public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Discovery\DiscoveryClientChannelBase.cs (2)
19IChannelFactory<TChannel> innerChannelFactory; 36IChannelFactory<TChannel> innerChannelFactory,
System\ServiceModel\Discovery\DiscoveryClientChannelFactory.cs (9)
17IChannelFactory<TChannel> innerChannelFactory; 19public DiscoveryClientChannelFactory(IChannelFactory<TChannel> innerChannelFactory, FindCriteria findCriteria, DiscoveryEndpointProvider discoveryEndpointProvider) 50(IChannelFactory<IOutputChannel>)this.innerChannelFactory, 58(IChannelFactory<IRequestChannel>)this.innerChannelFactory, 66(IChannelFactory<IDuplexChannel>)this.innerChannelFactory, 74(IChannelFactory<IOutputSessionChannel>)this.innerChannelFactory, 82(IChannelFactory<IRequestSessionChannel>)this.innerChannelFactory, 90(IChannelFactory<IDuplexSessionChannel>)this.innerChannelFactory, 100if (typeof(T) == typeof(IChannelFactory<TChannel>))
System\ServiceModel\Discovery\DiscoveryClientDuplexChannel.cs (1)
16IChannelFactory<TChannel> innerChannelFactory,
System\ServiceModel\Discovery\DiscoveryClientDuplexSessionChannel.cs (1)
13IChannelFactory<IDuplexSessionChannel> innerChannelFactory,
System\ServiceModel\Discovery\DiscoveryClientOutputChannel.cs (1)
16IChannelFactory<TChannel> innerChannelFactory,
System\ServiceModel\Discovery\DiscoveryClientOutputSessionChannel.cs (1)
13IChannelFactory<IOutputSessionChannel> innerChannelFactory,
System\ServiceModel\Discovery\DiscoveryClientRequestChannel.cs (1)
16IChannelFactory<TChannel> innerChannelFactory,
System\ServiceModel\Discovery\DiscoveryClientRequestSessionChannel.cs (1)
13IChannelFactory<IRequestSessionChannel> innerChannelFactory,
System.ServiceModel.Routing (5)
System\ServiceModel\Channels\SynchronousSendBindingElement.cs (5)
53public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context) 65IChannelFactory<TChannel> innerFactory = context.BuildInnerChannelFactory<TChannel>(); 75public SynchronousChannelFactory(IDefaultCommunicationTimeouts timeouts, IChannelFactory<TChannel> innerFactory) 93IChannelFactory<TChannel> factory = (IChannelFactory<TChannel>)this.InnerChannelFactory;
System.ServiceModel.Web (3)
System\ServiceModel\Channels\WebMessageEncodingBindingElement.cs (1)
157public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\Channels\WebScriptMetadataMessageEncodingBindingElement.cs (1)
55public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)
System\ServiceModel\WebHttpBinding.cs (1)
204public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingParameterCollection parameters)