/// <summary> /// Public constructor for DistributedSearchers. A DistributedSearcher is defined /// in XML configuration and is loaded via a custom configuration handler. /// </summary> /// <param name="xSection">The Xml definition in the configuration file</param> public DistributedSearchers(XmlNode xSection) { this._arDistributedSearcherArray = new DistributedSearcher[xSection.ChildNodes.Count]; int x = 0; foreach (XmlNode c in xSection.ChildNodes) { if (c.Name.ToLower() == "DistributedSearcher") { DistributedSearcher ws = new DistributedSearcher(c); this._arDistributedSearcherArray[x] = ws; x++; } } }
/// <summary> /// Public constructor for DistributedSearchers. A DistributedSearcher is defined /// in XML configuration and is loaded via a custom configuration handler. /// </summary> /// <param name="xSection">The Xml definition in the configuration file</param> public DistributedSearchers(XmlNode xSection) { this._arDistributedSearcherArray = new DistributedSearcher[xSection.ChildNodes.Count]; int x=0; foreach (XmlNode c in xSection.ChildNodes) { if (c.Name.ToLower()=="DistributedSearcher") { DistributedSearcher ws = new DistributedSearcher(c); this._arDistributedSearcherArray[x] = ws; x++; } } }