public XmlReferenceManager(IXmlNode root, IXmlReferenceFormat format) { entriesById = new Dictionary <int, Entry>(); entriesByValue = new WeakKeyDictionary <object, Entry>(ReferenceEqualityComparer <object> .Instance); this.format = format; this.nextId = 1; Populate(root); }
public XmlReferenceManager(IXmlNode root, IXmlReferenceFormat format) { entriesById = new Dictionary<int, Entry>(); entriesByValue = new WeakKeyDictionary<object, Entry>(ReferenceEqualityComparer<object>.Instance); this.format = format; this.nextId = 1; Populate(root); }