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