Exemplo n.º 1
0
        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));
                }
            }
        }
Exemplo n.º 2
0
 public IElement GetInstance(Node node)
 {
     return(PolicyIdReference.GetInstance(node));
 }
Exemplo n.º 3
0
 public IElement GetInstance(string value)
 {
     return(PolicyIdReference.GetInstance(value));
 }