public void SendMessage(Enum eventName, RxMessage message) { if (_rxNodeDic.ContainsKey(eventName)) { _rxNodeDic[eventName].Publish(message); } }
public void Publish(RxMessage message) { subject.OnNext(message); }