예제 #1
0
 public void Add(HandlerCall call)
 {
     assertNotGrouped();
     _calls.Add(call);
 }
예제 #2
0
        /// <summary>
        /// Add a secondary message handler for the message type that will
        /// execute after the primary action(s)
        /// </summary>
        /// <param name="call"></param>
        public void AddAbstractedHandler(HandlerCall call)
        {
            var clone = call.Clone(MessageType);

            Handlers.Add(clone);
        }