Esempio n. 1
0
        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);
        }
Esempio n. 2
0
		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);
		}