Exemplo n.º 1
0
 public StructureItem this[string name] {
     get {
         name = name.ToLower();
         int index = GetIndex(name);
         if (index >= 0) return gItem[index];
         StructureItem item = new StructureItem();
         item.Name = name;
         item.Value = "";
         gItem.Add(item);
         return item;
     }
 }
Exemplo n.º 2
0
 public bool Remove(StructureItem item) {
     return gItem.Remove(item);
 }
Exemplo n.º 3
0
 public void CopyTo(StructureItem[] array, int arrayIndex) {
     throw new NotImplementedException();
 }
Exemplo n.º 4
0
 public bool Contains(StructureItem item) {
     throw new NotImplementedException();
 }
Exemplo n.º 5
0
 public void Add(StructureItem item) {
     //throw new NotImplementedException();
     item.Name = item.Name.ToLower();
     gItem.Add(item);
 }