public static ConfigEntry[] GetEntries() { ConfigEntry[] array = new ConfigEntry[m_Entries.Values.Count]; m_Entries.Values.CopyTo(array, 0); Array.Sort(array); return array; }
public static void AddValue(string name, string friendlyName, string comment, Type type, object defaultValue) { m_Entries[name] = new ConfigEntry(name, friendlyName, comment, type, defaultValue); }