public override void Do(string[] args)
 {
     if (ParseArguments(args))
     {
         if (Purge)
         {
             AttachmentFileSystem.PurgeAttachments(Dequeuer.GetQueuedMessages(filterList, new OverrideList()).Select(e => e.EmailQueueItem));
         }
     }
 }
Exemple #2
0
        public override void Do(string[] args)
        {
            if (ParseArguments(args))
            {
                var results = Dequeuer.GetQueuedMessages(filterList, overrideList).ToList();

                WriteSummary(results);

                while (true)
                {
                    if (!DoDialog(results))
                    {
                        return;
                    }
                }
            }
        }