Exemplo n.º 1
0
        public DomItem(string value, DomItem parent, MarkdownParser recursiveParser)
        {
            this.Value     = value;
            this.Parent    = parent;
            this.Children  = new List <DomItem>();
            this.UniqueKey = "{{{" + Guid.NewGuid().ToString() + "}}}";

            if (!this.IsPreFormatted && recursiveParser != null)
            {
                recursiveParser.ParseRecursive(this);
            }
        }