public IClientChannelSink CreateSink (IChannelSender channel,
						      string url,
						      object remoteChannelData)
		{
			IClientChannelSink next_sink = null;
			SimpleClientFormatterSink result;
			
			if (next != null)
				next_sink = next.CreateSink (channel, url, remoteChannelData);
			
			result = new SimpleClientFormatterSink (next_sink);

			// set properties on the newly creates sink

			return result;
		}		
Exemplo n.º 2
0
        public IClientChannelSink CreateSink(IChannelSender channel,
                                             string url,
                                             object remoteChannelData)
        {
            IClientChannelSink        next_sink = null;
            SimpleClientFormatterSink result;

            if (next != null)
            {
                next_sink = next.CreateSink(channel, url, remoteChannelData);
            }

            result = new SimpleClientFormatterSink(next_sink);

            // set properties on the newly creates sink

            return(result);
        }