1 interface inheriting from IRequestChannel
System.ServiceModel.Primitives (1)
netstandard.cs (1)
1522public partial interface IRequestSessionChannel : System.ServiceModel.Channels.IChannel, System.ServiceModel.Channels.IRequestChannel, System.ServiceModel.Channels.ISessionChannel<System.ServiceModel.Channels.IOutputSession>, System.ServiceModel.ICommunicationObject
4 implementations of IRequestChannel
System.ServiceModel.Primitives (1)
netstandard.cs (1)
507protected partial class ChannelBase<T> : System.IDisposable, System.ServiceModel.Channels.IChannel, System.ServiceModel.Channels.IOutputChannel, System.ServiceModel.Channels.IRequestChannel, System.ServiceModel.IClientChannel, System.ServiceModel.ICommunicationObject, System.ServiceModel.IContextChannel, System.ServiceModel.IExtensibleObject<System.ServiceModel.IContextChannel> where T : class
System.ServiceModel.Primitives.Tests (2)
ServiceModel\ThrowingOnCloseBindingElement.cs (2)
201private class ThrowingRequestChannel : ThrowingChannelBase<IRequestChannel>, IRequestChannel
UnitTests.Common (1)
MockRequestChannel.cs (1)
9public class MockRequestChannel : MockChannelBase, IRequestChannel
101 references to IRequestChannel
Client.ChannelLayer.IntegrationTests (15)
RequestReplyChannelShapeTests.4.0.0.cs (12)
26IChannelFactory<IRequestChannel> factory = null; 27IRequestChannel channel = null; 36factory = binding.BuildChannelFactory<IRequestChannel>(new BindingParameterCollection()); 77IChannelFactory<IRequestChannel> factory = null; 78IRequestChannel channel = null; 90factory = binding.BuildChannelFactory<IRequestChannel>(new BindingParameterCollection()); 132IChannelFactory<IRequestChannel> factory = null; 133IRequestChannel channel = null; 142factory = binding.BuildChannelFactory<IRequestChannel>(new BindingParameterCollection()); 185IChannelFactory<IRequestChannel> factory = null; 186IRequestChannel channel = null; 198factory = binding.BuildChannelFactory<IRequestChannel>(new BindingParameterCollection());
RequestReplyChannelShapeTests.4.1.0.cs (3)
26IChannelFactory<IRequestChannel> factory = null; 27IRequestChannel channel = null; 36factory = binding.BuildChannelFactory<IRequestChannel>(new BindingParameterCollection());
Client.TypedClient.IntegrationTests (9)
TypedProxyTests.4.0.0.cs (9)
220ChannelFactory<IRequestChannel> factory = null; 222IRequestChannel channel = null; 235factory = new ChannelFactory<IRequestChannel>(customBinding, endpointAddress); 283ChannelFactory<IRequestChannel> factory = null; 285IRequestChannel channel = null; 299factory = new ChannelFactory<IRequestChannel>(customBinding, endpointAddress); 347ChannelFactory<IRequestChannel> factory = null; 349IRequestChannel channel = null; 363factory = new ChannelFactory<IRequestChannel>(customBinding, endpointAddress);
Contract.Message.IntegrationTests (3)
MessageTests.4.0.0.cs (3)
25IChannelFactory<IRequestChannel> factory = binding.BuildChannelFactory<IRequestChannel>(new BindingParameterCollection()); 29IRequestChannel channel = factory.CreateChannel(new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
System.ServiceModel (1)
netstandard.cs (1)
68[assembly: TypeForwardedTo(typeof(IRequestChannel))]
System.ServiceModel.Federation (10)
System\ServiceModel\Federation\WSTrustChannel.cs (4)
27/// <param name="requestChannel">The <see cref="IRequestChannel" /> this channel will be used to send a <see cref="WsTrustRequest" /> to the STS.</param> 28public WSTrustChannel(IRequestChannel requestChannel) 46/// The <see cref="IRequestChannel" /> this class uses for sending and receiving <see cref="Message" /> objects. 48private IRequestChannel RequestChannel { get; }
System\ServiceModel\Federation\WSTrustChannelFactory.cs (2)
51return new WSTrustChannel(base.CreateChannel(endpointAddress, via) as IRequestChannel); 60return new WSTrustChannel(base.CreateChannel(EndpointAddress, EndpointAddress.Uri) as IRequestChannel);
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (4)
107internal virtual ChannelFactory<IRequestChannel> ChannelFactory { get; set; } 242IRequestChannel channel = ChannelFactory.CreateChannel(); 281IRequestChannel channel = ChannelFactory.CreateChannel(); 462var channelFactory = new ChannelFactory<IRequestChannel>(IssuerBinding, WSTrustTokenParameters.IssuerAddress);
System.ServiceModel.Http.Tests (2)
ServiceModel\SecurityBindingElementTest.cs (2)
27Assert.True(binding.CanBuildChannelFactory<IRequestChannel>(), string.Format("CanBuildChannelFactory should return true for BasicHttpSecurityMode:'{0}'", securityMode)); 28binding.BuildChannelFactory<IRequestChannel>();
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\ConnectionOrientedTransportBindingElement.cs (1)
112return (typeof(TChannel) == typeof(IRequestChannel));
System.ServiceModel.Primitives (7)
netstandard.cs (7)
512System.ServiceModel.EndpointAddress System.ServiceModel.Channels.IRequestChannel.RemoteAddress { get { return default; } } 513System.Uri System.ServiceModel.Channels.IRequestChannel.Via { get { return default; } } 541System.IAsyncResult System.ServiceModel.Channels.IRequestChannel.BeginRequest(System.ServiceModel.Channels.Message message, System.AsyncCallback callback, object state) { return default; } 542System.IAsyncResult System.ServiceModel.Channels.IRequestChannel.BeginRequest(System.ServiceModel.Channels.Message message, System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default; } 543System.ServiceModel.Channels.Message System.ServiceModel.Channels.IRequestChannel.EndRequest(System.IAsyncResult result) { return default; } 544System.ServiceModel.Channels.Message System.ServiceModel.Channels.IRequestChannel.Request(System.ServiceModel.Channels.Message message) { return default; } 545System.ServiceModel.Channels.Message System.ServiceModel.Channels.IRequestChannel.Request(System.ServiceModel.Channels.Message message, System.TimeSpan timeout) { return default; }
System.ServiceModel.Primitives.Tests (52)
Channels\CustomBindingTest.cs (3)
26IChannelFactory<IRequestChannel> factory = binding.BuildChannelFactory<IRequestChannel>(new BindingParameterCollection()); 30IRequestChannel channel = factory.CreateChannel(new EndpointAddress("http://localhost/WcfProjectNService.svc"));
Channels\CustomChannelTest.cs (10)
22MockChannelFactory<IRequestChannel> mockChannelFactory = null; 36mockChannelFactory = new MockChannelFactory<IRequestChannel>(context, new TextMessageEncodingBindingElement().CreateMessageEncoderFactory()); 112MockChannelFactory<IRequestChannel> mockChannelFactory = null; 126mockChannelFactory = new MockChannelFactory<IRequestChannel>(context, new TextMessageEncodingBindingElement().CreateMessageEncoderFactory()); 209MockChannelFactory<IRequestChannel> mockChannelFactory = null; 220mockChannelFactory = new MockChannelFactory<IRequestChannel>(context, new TextMessageEncodingBindingElement().CreateMessageEncoderFactory()); 260MockChannelFactory<IRequestChannel> mockChannelFactory = null; 271mockChannelFactory = new MockChannelFactory<IRequestChannel>(context, new TextMessageEncodingBindingElement().CreateMessageEncoderFactory()); 314MockChannelFactory<IRequestChannel> mockChannelFactory = null; 328mockChannelFactory = new MockChannelFactory<IRequestChannel>(context, new TextMessageEncodingBindingElement().CreateMessageEncoderFactory());
ServiceModel\ChannelFactoryTest.cs (32)
20ChannelFactory<IRequestChannel> factory = null; 21ChannelFactory<IRequestChannel> factory2 = null; 22IRequestChannel channel = null; 23IRequestChannel channel2 = null; 34factory = new ChannelFactory<IRequestChannel>(binding, endpointAddress); 35factory2 = new ChannelFactory<IRequestChannel>(binding, endpointAddress); 39Assert.True(typeof(IRequestChannel).GetTypeInfo().IsAssignableFrom(channel.GetType().GetTypeInfo()), 40String.Format("Channel type '{0}' was not assignable to '{1}'", channel.GetType(), typeof(IRequestChannel))); 43Assert.True(typeof(IRequestChannel).GetTypeInfo().IsAssignableFrom(channel2.GetType().GetTypeInfo()), 44String.Format("Channel type '{0}' was not assignable to '{1}'", channel2.GetType(), typeof(IRequestChannel))); 52Assert.StrictEqual<IRequestChannel>(channel, channel); 55Assert.NotStrictEqual<IRequestChannel>(channel, channel2); 79ChannelFactory<IRequestChannel> factory = null; 80ChannelFactory<IRequestChannel> factory2 = null; 81IRequestChannel channel = null; 82IRequestChannel channel2 = null; 91factory = new ChannelFactory<IRequestChannel>(binding, endpointAddress); 92factory2 = new ChannelFactory<IRequestChannel>(binding, endpointAddress); 96Assert.True(typeof(IRequestChannel).GetTypeInfo().IsAssignableFrom(channel.GetType().GetTypeInfo()), 97String.Format("Channel type '{0}' was not assignable to '{1}'", channel.GetType(), typeof(IRequestChannel))); 100Assert.True(typeof(IRequestChannel).GetTypeInfo().IsAssignableFrom(channel2.GetType().GetTypeInfo()), 101String.Format("Channel type '{0}' was not assignable to '{1}'", channel2.GetType(), typeof(IRequestChannel))); 109Assert.StrictEqual<IRequestChannel>(channel, channel); 112Assert.NotStrictEqual<IRequestChannel>(channel, channel2); 136ChannelFactory<IRequestChannel> factory = null; 137IRequestChannel channel = null; 146factory = new ChannelFactory<IRequestChannel>(binding, endpointAddress); 152Assert.True(typeof(IRequestChannel).GetTypeInfo().IsAssignableFrom(channel.GetType().GetTypeInfo()), 153String.Format("Channel type '{0}' was not assignable to '{1}'", channel.GetType(), typeof(IRequestChannel))); 197String.Format("Channel type '{0}' was not assignable to '{1}'", channel.GetType(), typeof(IRequestChannel))); 211ChannelFactory<IRequestChannel> factory = null; 217factory = new ChannelFactory<IRequestChannel>(binding, new EndpointAddress(FakeAddress.HttpAddress));
ServiceModel\MessageContractTest.4.4.0.cs (4)
143MockChannelFactory<IRequestChannel> mockChannelFactory = null; 153mockChannelFactory = new MockChannelFactory<IRequestChannel>(context, new TextMessageEncodingBindingElement().CreateMessageEncoderFactory()); 244MockChannelFactory<IRequestChannel> mockChannelFactory = null; 253mockChannelFactory = new MockChannelFactory<IRequestChannel>(context, new TextMessageEncodingBindingElement().CreateMessageEncoderFactory());
ServiceModel\ThrowingOnCloseBindingElement.cs (3)
136else if (typeof(TChannel) == typeof(IRequestChannel)) 138return (TChannel)(object)new ThrowingRequestChannel(this, _parent._exception, (IRequestChannel)innerChannel); 203public ThrowingRequestChannel(ThrowingChannelFactory<TChannel> factory, Exception exception, IRequestChannel innerChannel)
UnitTests.Common (1)
MockTransportBindingElement.cs (1)
57return new MockChannelFactory<IRequestChannel>(context, new TextMessageEncodingBindingElement().CreateMessageEncoderFactory());