public void RegisterItem(string keyword,
                                 Action <string, XPathNavigator> handler)
        {
            if (_configContent == null || String.IsNullOrEmpty(keyword) ||
                handler == null)
            {
                return;
            }

            _configContent.Add(new ConfiguratorItem(keyword, handler));
        }
Beispiel #2
0
        public void AddHandler(string keyword, Action <string, XPathNavigator> handler)
        {
            ConfiguratorItem item = new ConfiguratorItem(keyword, handler);

            _configContent.Add(item);
        }