protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (null != _contextManager)
                {
                    _contextManager.Dispose();
                    _contextManager = null;
                }
            }

            base.Dispose(disposing);
        }
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (null != _contextManager)
                {
                    _contextManager.Dispose();
                    _contextManager = null;
                }
            }

            base.Dispose(disposing);
        }
 private ManualNotificationsCenter(TimeSpan dueTime, TimeSpan interval, int eventsPerInterval)
     : base(dueTime, interval, eventsPerInterval)
 {
     _contextManager = new ResultContextManager <User, Notification>(new TaskResultContextFactory());
 }
 private ManualNotificationsCenter(TimeSpan dueTime, TimeSpan interval, int eventsPerInterval)
     : base(dueTime, interval, eventsPerInterval)
 {
     _contextManager = new ResultContextManager<User, Notification>(new TaskResultContextFactory());
 }