Esempio n. 1
0
 public void SetEntryAtIndex(int index, MNodeEntry <TValue> entry)
 {
     this.entries[index] = entry;
     this.entries[index].EnclosingNode = this;
 }
Esempio n. 2
0
        } // TODO: Should probably not have setter

        /// <summary>
        ///
        ///
        /// Note: We assume that the <see cref="MNodeEntry{TValue}"/> DistanceFromParent
        /// and Value properties have been set.
        /// </summary>
        /// <param name="newEntry"></param>
        public void Add(MNodeEntry <TValue> newEntry)
        {
            newEntry.EnclosingNode = this;
            this.Entries.Add(newEntry);
        }