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); }
public static void Publish(Type channelType, string key, Object payload) { Guard.ArgumentNotNull(channelType, "channelType"); ChannelInvoker _invoker = GetChannelInvoker(channelType); _invoker.Publish(key, payload, false); }