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); } }
private void Append(AppPropsItem item) { _propertiesDic.Add(item.HashKey, item); _propertiesList.Add(item); }
public void Append(String key, String value) { var item = new AppPropsItem(key, value); Append(item); }