public override IDList GetPublishQueue(DateTime from, DateTime to, [NotNull] CallContext context)
 {
     lock (this)
     {
         var result = new IDList();
         PublishQueue.Where(r => (r.Date >= from) && (r.Date <= to)).Apply(r => result.Add(r.ItemID));
         return(result);
     }
 }
        public override bool CleanupPublishQueue(DateTime to, [NotNull] CallContext context)
        {
            lock (this)
            {
                PublishQueue = PublishQueue.Where(item => item.Date > to).ToList();

                return(true);
            }
        }