Пример #1
0
        public void RemoveRule(CrawlRule rule)
        {
            if (rule == null)
            {
                throw new ArgumentNullException("rule");
            }

            m_crawlRules.Remove(rule);
        }
Пример #2
0
        public void AddRule(CrawlRule rule)
        {
            if (rule == null)
            {
                throw new ArgumentNullException("rule");
            }

            m_crawlRules.Add(rule);
        }