Exemplo n.º 1
0
        private void constructor(RowInformation header, string rawDocument, UnfoldSettings unfoldSettings = null)
        {
            this.header      = header;
            this.rawDocument = rawDocument;

            if (unfoldSettings == null)
            {
                unfoldSettings = new UnfoldSettings
                {
                    Style = Style.Indent
                }
            }
            ;
            this.unfoldSettings = unfoldSettings;

            isUnfolded = false;
            children   = new List <Node>();
            properties = new Dictionary <string, string>();
        }
Exemplo n.º 2
0
 public Node(string rawDocument, UnfoldSettings unfoldSettings = null)
 {
     constructor(new RowInformation {
         Content = ""
     }, rawDocument, unfoldSettings);
 }
Exemplo n.º 3
0
 public Node(RowInformation header, string rawDocument, UnfoldSettings unfoldSettings = null)
 {
     constructor(header, rawDocument, unfoldSettings);
 }