コード例 #1
0
        public static void Publish(Type channelType, string key, Object payload, bool asynchronously)
        {
            Guard.ArgumentNotNull(channelType, "channelType");

            ChannelInvoker _invoker = GetChannelInvoker(channelType);

            _invoker.Publish(key, payload, asynchronously);
        }
コード例 #2
0
        public static void Publish(Type channelType, string key, Object payload)
        {
            Guard.ArgumentNotNull(channelType, "channelType");

            ChannelInvoker _invoker = GetChannelInvoker(channelType);

            _invoker.Publish(key, payload, false);
        }