Example #1
0
        public ExtList <T> Merge(ExtList <T> another)
        {
            var list = new List <T>();

            list.AddRange(elements);
            list.AddRange(another.elements);
            return(new ExtList <T>(list));
        }
Example #2
0
 public ExtEntry(string key, ExtList <ExtElement> elements) : this(key, elements, ExtList <ExtEntry> .Empty)
 {
 }
Example #3
0
 public ExtEntry(string key, ExtList <ExtElement> elements, ExtList <ExtEntry> children)
 {
     Key      = key;
     Elements = elements;
     Children = children;
 }
Example #4
0
 public ExtSection(string name, ExtList <ExtEntry> entries)
 {
     Name    = name;
     Entries = entries;
 }