public sKey Key(Setting incKey) { IniFile.IniSection.IniKey key = section.GetKey(incKey.ToString()); if (key == null) { if (defaultSets.ContainsKey(incKey)) { key = section.AddKey(incKey.ToString()); key.Value = defaultSets[incKey]; } } if (key != null) { if (key.Value == null) { if (defaultSets.ContainsKey(incKey)) { key.Value = defaultSets[incKey]; } } } return(new sKey(key, defaultSets[incKey])); }
//protected internal sKey(IniFile.IniSection.IniKey inc_key) //{ // key = inc_key; //} protected internal sKey(IniFile.IniSection.IniKey inc_key, string _defaultValue) { key = inc_key; defaultValue = _defaultValue; }
protected internal sKey(IniFile.IniSection.IniKey inc_key) { key = inc_key; }