예제 #1
0
 private AppProps(String path)
 {
     String[] lines = File.ReadAllLines(path);
     for (Int32 i = 0; i < lines.Length; i++) {
         var item = new AppPropsItem(lines[i], i);
         _propertiesDic.Add(item.HashKey, item);
         _propertiesList.Add(item);
     }
 }
예제 #2
0
 private void Append(AppPropsItem item)
 {
     _propertiesDic.Add(item.HashKey, item);
     _propertiesList.Add(item);
 }
예제 #3
0
 public void Append(String key, String value)
 {
     var item = new AppPropsItem(key, value);
     Append(item);
 }