public PolicyIdentifierList(Node node) { this._referenceList = new List <IElement>(); NodeList children = node.ChildNodes; for (int i = 0; i < children.Length; i++) { Node child = children.Item(i); if (child.NodeName.Equals(PolicyIdReference.Identifer)) { this._referenceList.Add(PolicyIdReference.GetInstance(child)); } else if (child.NodeName.Equals(PolicySetIdReference.Identifer)) { this._referenceList.Add(PolicySetIdReference.GetInstance(child)); } } }
public IElement GetInstance(Node node) { return(PolicyIdReference.GetInstance(node)); }
public IElement GetInstance(string value) { return(PolicyIdReference.GetInstance(value)); }