FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelRequirements.cs (12)
69typeof(IDuplexSessionChannel),
74typeof(IDuplexSessionChannel),
92typeof(IDuplexSessionChannel),
98typeof(IDuplexSessionChannel),
118typeof(IDuplexSessionChannel),
125typeof(IDuplexSessionChannel),
145typeof(IDuplexSessionChannel),
151typeof(IDuplexSessionChannel),
172typeof(IDuplexSessionChannel),
179typeof(IDuplexSessionChannel),
195return (channelType == typeof(IDuplexSessionChannel) ||
221channelType == typeof(IDuplexSessionChannel));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelFactory.cs (10)
90else if (channelBuilder.CanBuildChannelFactory<IDuplexSessionChannel>())
92return new ServiceChannelFactoryOverDuplexSession(channelBuilder.BuildChannelFactory<IDuplexSessionChannel>(), clientRuntime, channelBuilder.Binding, false);
164if (type == typeof(IDuplexSessionChannel) && customBinding.CanBuildChannelFactory<IDuplexSessionChannel>(parameters))
173return new ServiceChannelFactoryOverDuplexSession(customBinding.BuildChannelFactory<IDuplexSessionChannel>(parameters), clientRuntime, binding, useActiveAutoClose);
221if (customBinding.CanBuildChannelFactory<IDuplexSessionChannel>(parameters))
223supportedChannels.Add(typeof(IDuplexSessionChannel), 0);
567internal class ServiceChannelFactoryOverDuplexSession : TypedServiceChannelFactory<IDuplexSessionChannel>
571public ServiceChannelFactoryOverDuplexSession(IChannelFactory<IDuplexSessionChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding, bool useActiveAutoClose)
589|| typeof(TChannel) == typeof(IDuplexSessionChannel));