Esempio n. 1
0
        public bool Initialize(List <string> pages)
        {
            if (pages.Count == 0)
            {
                throw new InvalidOperationException("There are no pages to process from the input source");
            }
            if (LogConsumer == null)
            {
                throw new InvalidOperationException("LogConsumer cannot be null during Initialize.");
            }

            LogConsumer.SetInputPages(pages);
            return(true);
        }