private void init() { foreach (string name in sett_.names()) { var value_str = get_value_part(sett_.get(name)); var used_value = string_to_info_type(value_str); if (used_value != info_type.max) { name_to_column_.set(name, used_value); } } }
private void load_sub_syntax(settings_as_string sett, column_formatter_base sub, string prefix, ref string error) { prefix += "."; settings_as_string sub_sett = new settings_as_string(""); foreach ( var name in sett.names()) if ( name.StartsWith(prefix)) sub_sett.set(name.Substring(prefix.Length), sett.get(name)); sub.load_syntax(sub_sett, ref error); }