private MessageStop <TMessage> GetMessageStop <TMessage>() { MessageStop <TMessage> stop; BaseMessageStop baseStop = GetMessageStop(typeof(TMessage)); stop = baseStop as MessageStop <TMessage>; return(stop); }
public BaseMessageChannel GetMessageChannel(Type messageType, string channelID) { if (channelID == null) { channelID = ""; } BaseMessageStop baseStop = GetMessageStop(messageType); return(baseStop.GetChannel(channelID)); }