BplusDotNet.BplusTreeBytes.toHtml C# (CSharp) Method

toHtml() public method

public toHtml ( ) : string
return string
        public string toHtml()
        {
            string treehtml = this.tree.toHtml();
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            sb.Append(treehtml);
            sb.Append("\r\n<br> free on commit "+this.FreeChunksOnCommit.Count+" ::");
            foreach (DictionaryEntry thing in this.FreeChunksOnCommit)
            {
                sb.Append(" "+thing.Key);
            }
            sb.Append("\r\n<br> free on abort "+this.FreeChunksOnAbort.Count+" ::");
            foreach (DictionaryEntry thing in this.FreeChunksOnAbort)
            {
                sb.Append(" "+thing.Key);
            }
            return sb.ToString(); // archive info not included
        }