public void DispatchEvent(DataEventAction action, string subject, object payload = null) { var ev = new DataEvent(action, subject, payload); DispatchEvent(ev); }
public void DispatchDeletedEvent(string subject, object payload = null) { DispatchEvent(DataEvent.Deleted(subject, payload)); }
public void DispatchEvent(DataEvent @event) { NotificationsSubject.OnNext(@event); }