private Publisher() { if (FeedDl == null) { FeedDl = FeedDL.Instance; } readers = new Dictionary <int, IFeedQueue>(); EstablishQueues(); }
public static void CleanPublisher() { FeedDl = null; _instance = null; }
public FeedQueue(IFeedDL feedDL, int userId) { _feedDL = feedDL; observers = new List <IObserver>(); queue = new List <Notification>(_feedDL.GetUnreadNotifications(userId)); }