Пример #1
0
        private MessageStop <TMessage> GetMessageStop <TMessage>()
        {
            MessageStop <TMessage> stop;
            BaseMessageStop        baseStop = GetMessageStop(typeof(TMessage));

            stop = baseStop as MessageStop <TMessage>;
            return(stop);
        }
Пример #2
0
        public BaseMessageChannel GetMessageChannel(Type messageType, string channelID)
        {
            if (channelID == null)
            {
                channelID = "";
            }
            BaseMessageStop baseStop = GetMessageStop(messageType);

            return(baseStop.GetChannel(channelID));
        }