IClientChannelSink IClientChannelSinkProvider.CreateSink(IChannelSender channel, string url, object remoteChannelData) { IClientChannelSink nextSink = nextProvider.CreateSink(channel, url, remoteChannelData); IClientChannelSink thisSink = new PrivateEventHandlersClientChannelSink(nextSink as IClientFormatterSink); return(thisSink); }
IClientChannelSink IClientChannelSinkProvider.CreateSink(IChannelSender channel, string url, object remoteChannelData) { IClientChannelSink nextSink = nextProvider.CreateSink(channel, url, remoteChannelData); IClientChannelSink thisSink = new PrivateEventHandlersClientChannelSink(nextSink as IClientFormatterSink); return thisSink; }