2 interfaces inheriting from IDuplexChannel
System.ServiceModel.Primitives (2)
System\ServiceModel\Channels\IDuplexChannel.cs (1)
13internal interface IAsyncDuplexChannel : IDuplexChannel, IAsyncInputChannel, IAsyncOutputChannel
System\ServiceModel\Channels\IDuplexSessionChannel.cs (1)
8public interface IDuplexSessionChannel : IDuplexChannel, ISessionChannel<IDuplexSession>
6 implementations of IDuplexChannel
Extensibility.MessageInterceptor.IntegrationTests (2)
InterceptingDuplexChannel.cs (2)
263: InterceptingInputChannel<IDuplexChannel>, IDuplexChannel
System.ServiceModel.Primitives (2)
System\ServiceModel\Channels\DuplexChannel.cs (1)
10internal abstract class DuplexChannel : InputQueueChannel<Message>, IDuplexChannel, IAsyncDuplexChannel
System\ServiceModel\Channels\SecurityChannelFactory.cs (1)
504private class SecurityDuplexChannel : SecurityOutputChannel, IDuplexChannel, IAsyncDuplexChannel
System.ServiceModel.Primitives.Tests (2)
ServiceModel\ThrowingOnCloseBindingElement.cs (2)
266private class ThrowingDuplexChannel : ThrowingInputChannel<IDuplexChannel>, IDuplexChannel
76 references to IDuplexChannel
Extensibility.MessageInterceptor.IntegrationTests (3)
InterceptingChannelFactory.cs (2)
94else if (typeof(TChannel) == typeof(IDuplexChannel)) 96return (TChannel)(object)new InterceptingDuplexChannel(this, Interceptor, (IDuplexChannel)innerChannel);
InterceptingDuplexChannel.cs (1)
266ChannelManagerBase manager, ChannelMessageInterceptor interceptor, IDuplexChannel innerChannel)
System.ServiceModel.Primitives (68)
System\ServiceModel\Channels\ChannelReliableSession.cs (1)
557else if (_binder.Channel is IDuplexChannel)
System\ServiceModel\Channels\ChannelRequirements.cs (10)
69typeof(IDuplexChannel), 80typeof(IDuplexChannel), 92typeof(IDuplexChannel), 118typeof(IDuplexChannel), 133typeof(IDuplexChannel), 145typeof(IDuplexChannel), 158typeof(IDuplexChannel), 172typeof(IDuplexChannel), 187typeof(IDuplexChannel), 221return (channelType == typeof(IDuplexChannel) ||
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (8)
85if (type == typeof(IDuplexChannel)) 87return new DuplexClientReliableChannelBinder(to, via, (IChannelFactory<IDuplexChannel>)(object)factory, maskingMode, 225where TDuplexChannel : class, IDuplexChannel 240IDuplexChannel channel = Synchronizer.CurrentChannel; 256IDuplexChannel channel = Synchronizer.CurrentChannel; 309: DuplexClientReliableChannelBinder<IDuplexChannel> 312IChannelFactory<IDuplexChannel> factory, MaskingMode maskingMode, 333protected override bool HasSecuritySession(IDuplexChannel channel)
System\ServiceModel\Channels\DuplexChannel.cs (1)
58if (typeof(T) == typeof(IDuplexChannel))
System\ServiceModel\Channels\ReliableChannelFactory.cs (1)
122if (typeof(InnerChannel) == typeof(IDuplexChannel) || typeof(InnerChannel) == typeof(IDuplexSessionChannel))
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (8)
307else if (context.CanBuildInnerChannelFactory<IDuplexChannel>()) 310new ReliableChannelFactory<TChannel, IDuplexChannel>( 311this, context.BuildInnerChannelFactory<IDuplexChannel>(), context.Binding); 322else if (context.CanBuildInnerChannelFactory<IDuplexChannel>()) 325new ReliableChannelFactory<TChannel, IDuplexChannel>( 326this, context.BuildInnerChannelFactory<IDuplexChannel>(), context.Binding); 358|| context.CanBuildInnerChannelFactory<IDuplexChannel>(); 363|| context.CanBuildInnerChannelFactory<IDuplexChannel>();
System\ServiceModel\Channels\SecurityBindingElement.cs (3)
380(SupportsDuplex && (typeof(TChannel) == typeof(IDuplexChannel) || typeof(TChannel) == typeof(IDuplexSessionChannel))) || 388|| context.CanBuildInnerChannelFactory<IDuplexChannel>() 400return (context.CanBuildInnerChannelFactory<IDuplexChannel>() || context.CanBuildInnerChannelFactory<IDuplexSessionChannel>());
System\ServiceModel\Channels\SecurityChannelFactory.cs (5)
156else if (typeof(TChannel) == typeof(IAsyncDuplexChannel) || typeof(TChannel) == typeof(IDuplexChannel)) 158return (TChannel)(object)new SecurityDuplexChannel(this, SecurityProtocolFactory, ((IChannelFactory<IDuplexChannel>)InnerChannelFactory).CreateChannel(address, via), address, via); 506public SecurityDuplexChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IDuplexChannel innerChannel, EndpointAddress to, Uri via) 511internal IDuplexChannel InnerDuplexChannel 513get { return (IDuplexChannel)InnerChannel; }
System\ServiceModel\Channels\ServiceChannel.cs (3)
381IDuplexChannel duplexChannel = InnerChannel as IDuplexChannel; 400return InnerChannel is IDuplexChannel;
System\ServiceModel\Channels\ServiceChannelFactory.cs (11)
75if (channelBuilder.CanBuildChannelFactory<IDuplexChannel>()) 77return new ServiceChannelFactoryOverDuplex(channelBuilder.BuildChannelFactory<IDuplexChannel>(), clientRuntime, 132if (type == typeof(IDuplexChannel) && customBinding.CanBuildChannelFactory<IDuplexChannel>(parameters)) 141return new ServiceChannelFactoryOverDuplex(customBinding.BuildChannelFactory<IDuplexChannel>(parameters), clientRuntime, binding); 199if (customBinding.CanBuildChannelFactory<IDuplexChannel>(parameters)) 201supportedChannels.Add(typeof(IDuplexChannel), 0); 530private class ServiceChannelFactoryOverDuplex : TypedServiceChannelFactory<IDuplexChannel> 532public ServiceChannelFactoryOverDuplex(IChannelFactory<IDuplexChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding) 546|| typeof(TChannel) == typeof(IDuplexChannel)); 616|| typeof(TChannel) == typeof(IDuplexChannel)
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (6)
19private IDuplexChannel _channel; 30internal DuplexChannelBinder(IDuplexChannel channel, IRequestReplyCorrelator correlator) 39internal DuplexChannelBinder(IDuplexChannel channel, IRequestReplyCorrelator correlator, Uri listenUri) 46: this((IDuplexChannel)channel, correlator, listenUri) 633private IDuplexChannel _channel; 635internal DuplexRequestContext(IDuplexChannel channel, Message request, DuplexChannelBinder binder)
System\ServiceModel\Dispatcher\ListenerBinder.cs (6)
38IChannelListener<IDuplexChannel> duplex = listener as IChannelListener<IDuplexChannel>; 59private IChannelListener<IDuplexChannel> _listener; 61internal DuplexListenerBinder(IChannelListener<IDuplexChannel> listener, MessageVersion messageVersion) 77IDuplexChannel channel = _listener.AcceptChannel(timeout); 93IDuplexChannel channel = _listener.EndAcceptChannel(result);
System\ServiceModel\Security\SecuritySessionClientSettings.cs (5)
165else if (ChannelBuilder.CanBuildChannelFactory<IDuplexChannel>()) 167return ChannelBuilder.BuildChannelFactory<IDuplexChannel>(); 502else if (channelBuilder.CanBuildChannelFactory<IDuplexChannel>()) 504ChannelBinder = ClientReliableChannelBinder<IDuplexChannel>.CreateBinder(RemoteAddress, Via, (IChannelFactory<IDuplexChannel>)(object)Settings.InnerChannelFactory,
System.ServiceModel.Primitives.Tests (5)
ServiceModel\DuplexChannelFactoryTest.cs (2)
230String.Format("Channel type '{0}' was not assignable to '{1}'", channel.GetType(), typeof(IDuplexChannel))); 234String.Format("Channel type '{0}' was not assignable to '{1}'", channel2.GetType(), typeof(IDuplexChannel)));
ServiceModel\ThrowingOnCloseBindingElement.cs (3)
140else if (typeof(TChannel) == typeof(IDuplexChannel)) 142return (TChannel)(object)new ThrowingDuplexChannel(this, _parent._exception, (IDuplexChannel)innerChannel); 268public ThrowingDuplexChannel(ChannelManagerBase manager, Exception exception, IDuplexChannel innerChannel) : base(manager, exception, innerChannel)