private SearchResultAttributeCollection AttributesHelper() { SearchResultAttributeCollection attributes = new SearchResultAttributeCollection(); XmlNodeList list = this.dsmlNode.SelectNodes("dsml:attr", this.dsmlNS); if (list.Count != 0) { foreach (XmlNode node in list) { DirectoryAttribute attribute = new DirectoryAttribute((XmlElement) node); attributes.Add(attribute.Name, attribute); } } return attributes; }
private SearchResultAttributeCollection AttributesHelper() { SearchResultAttributeCollection searchResultAttributeCollection = new SearchResultAttributeCollection(); XmlNodeList xmlNodeLists = this.dsmlNode.SelectNodes("dsml:attr", this.dsmlNS); if (xmlNodeLists.Count != 0) { foreach (XmlNode xmlNodes in xmlNodeLists) { DirectoryAttribute directoryAttribute = new DirectoryAttribute((XmlElement)xmlNodes); searchResultAttributeCollection.Add(directoryAttribute.Name, directoryAttribute); } } return(searchResultAttributeCollection); }
private SearchResultAttributeCollection AttributesHelper() { SearchResultAttributeCollection attributes = new SearchResultAttributeCollection(); XmlNodeList list = this.dsmlNode.SelectNodes("dsml:attr", this.dsmlNS); if (list.Count != 0) { foreach (XmlNode node in list) { DirectoryAttribute attribute = new DirectoryAttribute((XmlElement)node); attributes.Add(attribute.Name, attribute); } } return(attributes); }
private SearchResultAttributeCollection AttributesHelper() { SearchResultAttributeCollection attributes = new SearchResultAttributeCollection(); XmlNodeList nodeList = _dsmlNode.SelectNodes("dsml:attr", _dsmlNS); if (nodeList.Count != 0) { foreach (XmlNode node in nodeList) { Debug.Assert(node is XmlElement); DirectoryAttribute attribute = new DirectoryAttribute((XmlElement)node); attributes.Add(attribute.Name, attribute); } } return(attributes); }
private SearchResultAttributeCollection AttributesHelper() { SearchResultAttributeCollection attributes = new SearchResultAttributeCollection(); XmlNodeList nodeList = _dsmlNode.SelectNodes("dsml:attr", _dsmlNS); if (nodeList.Count != 0) { foreach (XmlNode node in nodeList) { Debug.Assert(node is XmlElement); DirectoryAttribute attribute = new DirectoryAttribute((XmlElement)node); attributes.Add(attribute.Name, attribute); } } return attributes; }
private SearchResultAttributeCollection AttributesHelper() { SearchResultAttributeCollection searchResultAttributeCollection = new SearchResultAttributeCollection(); XmlNodeList xmlNodeLists = this.dsmlNode.SelectNodes("dsml:attr", this.dsmlNS); if (xmlNodeLists.Count != 0) { foreach (XmlNode xmlNodes in xmlNodeLists) { DirectoryAttribute directoryAttribute = new DirectoryAttribute((XmlElement)xmlNodes); searchResultAttributeCollection.Add(directoryAttribute.Name, directoryAttribute); } } return searchResultAttributeCollection; }