Beispiel #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>();
        }
Beispiel #2
0
 public Node(RowInformation header, string rawDocument, UnfoldSettings unfoldSettings = null)
 {
     constructor(header, rawDocument, unfoldSettings);
 }