3 implementations of IClientChannel
System.ServiceModel.Primitives (3)
System\ServiceModel\Channels\ServiceChannel.cs (1)
23internal sealed class ServiceChannel : CommunicationObject, IChannel, IClientChannel, IDuplexContextChannel, IOutputChannel, IRequestChannel, IServiceChannel, IAsyncDisposable
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
18public class ServiceChannelProxy : DispatchProxy, ICommunicationObject, IChannel, IClientChannel, IOutputChannel, IRequestChannel, IServiceChannel, IDuplexContextChannel, IAsyncDisposable
System\ServiceModel\ClientBase.cs (1)
916protected class ChannelBase<T> : IClientChannel, IOutputChannel, IRequestChannel, IChannelBaseProxy
103 references to IClientChannel
Binding.Http.IntegrationTests (2)
OperationContextTests.cs (2)
43((IClientChannel)serviceProxy).Open(); 53((IClientChannel)serviceProxy).Close();
Binding.ReliableSession.IntegrationTests (24)
NetHttpBindingTests.cs (9)
41((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 47((IClientChannel)serviceProxy).Close(); 80((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 85((IClientChannel)serviceProxy).Close(); 151((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 169((IClientChannel)serviceProxy).Close(); 229((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 310((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 383((IClientChannel)serviceProxy).Open(); // This will establish a reliable session
NetTcpBindingTests.cs (6)
36((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 42((IClientChannel)serviceProxy).Close(); 74((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 79((IClientChannel)serviceProxy).Close(); 113((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 120((IClientChannel)serviceProxy).Close();
WSHttpBindingTests.cs (9)
41((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 47((IClientChannel)serviceProxy).Close(); 80((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 85((IClientChannel)serviceProxy).Close(); 151((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 169((IClientChannel)serviceProxy).Close(); 229((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 310((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 383((IClientChannel)serviceProxy).Open(); // This will establish a reliable session
Binding.Tcp.IntegrationTests (3)
NetTcpBindingTests.4.0.0.cs (1)
143((IClientChannel)serviceProxy).Open();
OperationContextAsyncFlowTests.cs (2)
40((IClientChannel)serviceProxy).Close(); 86((IClientChannel)serviceProxy).Close();
Client.ClientBase.IntegrationTests (6)
ClientBaseTestHelpers.cs (3)
102public object BeforeSendRequest(ref Message request, IClientChannel channel) 157public object BeforeSendRequest(ref Message request, IClientChannel channel) 172public IClientChannel Channel { get; set; }
MessageInspectorTestHelpers.cs (1)
113public object BeforeSendRequest(ref Message request, IClientChannel channel)
SessionTests.cs (2)
68var sessionId1 = ((IClientChannel)channel1).SessionId; 69var sessionId2 = ((IClientChannel)channel2).SessionId;
Contract.Message.IntegrationTests (2)
MessageContractCommon.4.1.0.cs (1)
159public object BeforeSendRequest(ref System.ServiceModel.Channels.Message request, IClientChannel channel)
MessageContractTests.cs (1)
121public object BeforeSendRequest(ref System.ServiceModel.Channels.Message request, IClientChannel channel)
Contract.XmlSerializer.IntegrationTests (1)
XmlSerializerFormatTest.cs (1)
45public object BeforeSendRequest(ref Message request, IClientChannel channel)
dotnet-svcutil.xmlserializer.IntegrationTests (1)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.cs (1)
45public object BeforeSendRequest(ref Message request, IClientChannel channel)
Microsoft.Svcutil.NamedPipeMetadataImporter (2)
NamedPipeMetadataImporter.cs (2)
63((IClientChannel)proxy).Close(); 69((IClientChannel)proxy).Abort();
System.ServiceModel (1)
netstandard.cs (1)
167[assembly: TypeForwardedTo(typeof(IClientChannel))]
System.ServiceModel.Primitives (46)
System\ServiceModel\Channels\ServiceChannel.cs (4)
393if (t.IsAssignableFrom(typeof(IClientChannel))) 1389bool IClientChannel.AllowInitializationUI 1405bool IClientChannel.DidInteractiveInitialization 1554event EventHandler<UnknownMessageReceivedEventArgs> IClientChannel.UnknownMessageReceived
System\ServiceModel\Channels\ServiceChannelFactory.cs (2)
347IClientChannel clientChannel = serviceChannel.Proxy as IClientChannel;
System\ServiceModel\Channels\ServiceChannelProxy.cs (13)
628bool IClientChannel.AllowInitializationUI 632return ((IClientChannel)_serviceChannel).AllowInitializationUI; 636((IClientChannel)_serviceChannel).AllowInitializationUI = value; 640bool IClientChannel.DidInteractiveInitialization 642get { return ((IClientChannel)_serviceChannel).DidInteractiveInitialization; } 645Uri IClientChannel.Via 650event EventHandler<UnknownMessageReceivedEventArgs> IClientChannel.UnknownMessageReceived 652add { ((IClientChannel)_serviceChannel).UnknownMessageReceived += value; } 653remove { ((IClientChannel)_serviceChannel).UnknownMessageReceived -= value; } 656IAsyncResult IClientChannel.BeginDisplayInitializationUI(AsyncCallback callback, object state) 661void IClientChannel.DisplayInitializationUI() 666void IClientChannel.EndDisplayInitializationUI(IAsyncResult result) 673((IClientChannel)_serviceChannel).Dispose();
System\ServiceModel\ClientBase.cs (18)
287public IClientChannel InnerChannel 291return (IClientChannel)Channel; 979bool IClientChannel.AllowInitializationUI 981get { return ((IClientChannel)_channel).AllowInitializationUI; } 982set { ((IClientChannel)_channel).AllowInitializationUI = value; } 985bool IClientChannel.DidInteractiveInitialization 987get { return ((IClientChannel)_channel).DidInteractiveInitialization; } 990Uri IClientChannel.Via 992get { return ((IClientChannel)_channel).Via; } 995event EventHandler<UnknownMessageReceivedEventArgs> IClientChannel.UnknownMessageReceived 997add { ((IClientChannel)_channel).UnknownMessageReceived += value; } 998remove { ((IClientChannel)_channel).UnknownMessageReceived -= value; } 1001void IClientChannel.DisplayInitializationUI() 1003((IClientChannel)_channel).DisplayInitializationUI(); 1006IAsyncResult IClientChannel.BeginDisplayInitializationUI(AsyncCallback callback, object state) 1008return ((IClientChannel)_channel).BeginDisplayInitializationUI(callback, state); 1011void IClientChannel.EndDisplayInitializationUI(IAsyncResult result) 1013((IClientChannel)_channel).EndDisplayInitializationUI(result);
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (1)
317internal void InitializeChannel(IClientChannel channel)
System\ServiceModel\Dispatcher\ChannelHandler.cs (1)
484_listener.ChannelDispatcher.InitializeChannel((IClientChannel)channel.Proxy);
System\ServiceModel\Dispatcher\IChannelInitializer.cs (1)
10void Initialize(IClientChannel channel);
System\ServiceModel\Dispatcher\IClientMessageInspector.cs (1)
12object BeforeSendRequest(ref Message request, IClientChannel channel);
System\ServiceModel\Dispatcher\IDispatchMessageInspector.cs (1)
12object AfterReceiveRequest(ref Message request, IClientChannel channel, InstanceContext instanceContext);
System\ServiceModel\Dispatcher\IInteractiveChannelInitializer.cs (1)
10IAsyncResult BeginDisplayInitializationUI(IClientChannel channel, AsyncCallback callback, object state);
System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (2)
144internal void InitializeChannel(IClientChannel channel) 233private IClientChannel _proxy;
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
108rpc.Correlation[offset + i] = _messageInspectors[i].AfterReceiveRequest(ref rpc.Request, (IClientChannel)rpc.Channel.Proxy, rpc.InstanceContext);
System.ServiceModel.Primitives.Tests (6)
Channels\BehaviorExtensionTest.cs (2)
41((IClientChannel)channel).Close(); 74((IClientChannel)channel).Close();
Channels\CustomChannelTest.cs (4)
571((IClientChannel)channel).DisplayInitializationUI(); 623Assert.Throws<InvalidOperationException>(() => ((IClientChannel)channel).Open()); 673((IClientChannel)channel).AllowInitializationUI = false; 676Assert.Throws<InvalidOperationException>(() => ((IClientChannel)channel).DisplayInitializationUI());
UnitTests.Common (9)
MockChannelInitializer.cs (3)
18public Action<IClientChannel> InitializeOverride { get; set; } 20public void Initialize(IClientChannel channel) 25public void DefaultInitialize(IClientChannel channel)
MockClientMessageInspector.cs (3)
12public delegate object BeforeSendRequestDelegate(ref Message request, IClientChannel channel); 78public object BeforeSendRequest(ref Message request, IClientChannel channel) 83public object DefaultBeforeSendRequest(ref Message request, IClientChannel channel)
MockInteractiveChannelInitializer.cs (3)
19public Func<IClientChannel, AsyncCallback, object, IAsyncResult> BeginDisplayInitializationUIOverride { get; set; } 22public IAsyncResult BeginDisplayInitializationUI(IClientChannel channel, AsyncCallback callback, object state) 27public IAsyncResult DefaultBeginDisplayInitializationUI(IClientChannel channel, AsyncCallback callback, object state)