/// <summary> /// Constructs the class and initializes the internal tree. /// </summary> public DistanceCounterCollection() { Count = 0; var startPos = new TreeTableVisibleCounter(0); rbTree = new TreeTableWithCounter(startPos, false); }
/// <summary> /// Initializes a new <see cref="GenericTreeTableWithCounter{V}"/>. /// </summary> /// <param name="sorted"></param> public GenericTreeTableWithCounter(C startPos, bool sorted) { thisTree = new TreeTableWithCounter(startPos, sorted) { Tag = this }; }
protected virtual void Dispose(bool isDisposing) { if (isDisposing) { thisTree.Dispose(); thisTree = null; } }