2 writes to Proxy
System.ServiceModel (2)
System\ServiceModel\Channels\ServiceChannelFactory.cs (1)
380
serviceChannel.
Proxy
= CreateProxy(channelType, channelType, MessageDirection.Input, serviceChannel);
System\ServiceModel\Dispatcher\ChannelHandler.cs (1)
740
channel.
Proxy
= ServiceChannelFactory.CreateProxy(contractType, callbackType, MessageDirection.Output, channel);
18 references to Proxy
System.ServiceModel (18)
System\ServiceModel\Channels\ServiceChannel.cs (1)
1664
this.extensions = new ExtensionCollection<IContextChannel>((IContextChannel)this.
Proxy
, this.ThisLock);
System\ServiceModel\Channels\ServiceChannelFactory.cs (3)
382
serviceChannel.ClientRuntime.GetRuntime().InitializeChannel((IClientChannel)serviceChannel.
Proxy
);
386
current.InstanceContext.WmiChannels.Add((IChannel)serviceChannel.
Proxy
);
390
return serviceChannel.
Proxy
;
System\ServiceModel\Dispatcher\ChannelHandler.cs (2)
746
this.listener.ChannelDispatcher.InitializeChannel((IClientChannel)channel.
Proxy
);
1866
IContextChannel transparentProxy = this.requestInfo.Channel.
Proxy
as IContextChannel;
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
337
IClientChannel channel = rpc.Channel.
Proxy
as IClientChannel;
372
IClientChannel channel = rpc.Channel.
Proxy
as IClientChannel;
System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (2)
158
rpc.Correlation[offset + i] = this.messageInspectors[i].BeforeSendRequest(ref rpc.Request, (IClientChannel)rpc.Channel.
Proxy
);
322
this.proxy = channel.
Proxy
as IClientChannel;
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (4)
262
rpc.Correlation[offset + i] = this.messageInspectors[i].AfterReceiveRequest(ref rpc.Request, (IClientChannel)rpc.Channel.
Proxy
, rpc.InstanceContext);
636
IDuplexContextChannel proxy = channel.
Proxy
as IDuplexContextChannel;
677
IDuplexContextChannel proxy = channel.
Proxy
as IDuplexContextChannel;
1722
IChannel proxy = rpc.Channel.
Proxy
as IChannel;
System\ServiceModel\Dispatcher\InstanceBehavior.cs (1)
265
IContextChannel transparentProxy = (IContextChannel)current.InternalServiceChannel.
Proxy
;
System\ServiceModel\InstanceContext.cs (2)
336
IChannel proxy = (IChannel)channel.
Proxy
;
628
this.channels.RemoveChannel((IChannel)channel.
Proxy
);
System\ServiceModel\OperationContext.cs (1)
410
return (T)this.channel.
Proxy
;