private static bool ShouldPublishMessage(WampNotification wampNotification, string sessionId) { return (!wampNotification.Eligible.Any() && !wampNotification.Excluded.Contains(sessionId)) || wampNotification.Eligible.Contains(sessionId); }
public void OnNext(WampNotification value) { mSubject.OnNext(value); }