Exemple #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));
        }
Exemple #2
0
 public ExtEntry(string key, ExtList <ExtElement> elements) : this(key, elements, ExtList <ExtEntry> .Empty)
 {
 }
Exemple #3
0
 public ExtEntry(string key, ExtList <ExtElement> elements, ExtList <ExtEntry> children)
 {
     Key      = key;
     Elements = elements;
     Children = children;
 }
Exemple #4
0
 public ExtSection(string name, ExtList <ExtEntry> entries)
 {
     Name    = name;
     Entries = entries;
 }