예제 #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;
     }
 }
예제 #2
0
 public bool Remove(StructureItem item) {
     return gItem.Remove(item);
 }
예제 #3
0
 public void CopyTo(StructureItem[] array, int arrayIndex) {
     throw new NotImplementedException();
 }
예제 #4
0
 public bool Contains(StructureItem item) {
     throw new NotImplementedException();
 }
예제 #5
0
 public void Add(StructureItem item) {
     //throw new NotImplementedException();
     item.Name = item.Name.ToLower();
     gItem.Add(item);
 }