Exemple #1
0
        /// <summary>
        /// Takes the first sink in the chain of sinks composed so far, and then chains its message sink in front of the chain already formed.
        /// </summary>
        /// <param name="nextSink">The chain of sinks composed so far.</param>
        /// <returns>The composite sink chain.</returns>
        public IMessageSink GetServerContextSink(IMessageSink nextSink)
        {
            IMessageSink logSink = new AspectMessageSink(nextSink);

            return(logSink);
        }
		/// <summary>
		/// Takes the first sink in the chain of sinks composed so far, and then chains its message sink in front of the chain already formed.
		/// </summary>
		/// <param name="nextSink">The chain of sinks composed so far.</param>
		/// <returns>The composite sink chain.</returns>
		public IMessageSink GetServerContextSink(IMessageSink nextSink)
		{
			IMessageSink logSink = new AspectMessageSink(nextSink);
			return logSink;
		}