private XmlElementList(XmlNode parent) { this.rootNode = parent; this.curInd = -1; this.curElem = this.rootNode; this.changeCount = 0; this.empty = false; this.atomized = true; this.matchCount = -1; this.listener = new XmlElementListListener(parent.Document, this); }
private XmlElementList(XmlNode parent) { this.rootNode = parent; this.curInd = -1; this.curElem = this.rootNode; this.changeCount = 0; this.empty = false; this.atomized = true; this.matchCount = -1; this.listener = new XmlElementListListener(parent.Document, this); }
protected virtual void Dispose(bool disposing) { if (this.listener != null) { XmlElementListListener listener = (XmlElementListListener)this.listener.Target; if (listener != null) { listener.Unregister(); } this.listener = null; } }