コード例 #1
0
		public IServerChannelSink CreateSink (IChannelReceiver channel)
		{
			IServerChannelSink next_sink = null;
			SimpleServerFormatterSink result;
			
			if (next != null)
				next_sink = next.CreateSink (channel);
			
			result = new SimpleServerFormatterSink (next_sink);

			// set properties on result
			
			return result;
		}
コード例 #2
0
        public IServerChannelSink CreateSink(IChannelReceiver channel)
        {
            IServerChannelSink        next_sink = null;
            SimpleServerFormatterSink result;

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

            result = new SimpleServerFormatterSink(next_sink);

            // set properties on result

            return(result);
        }