public static void Initialize() { IntList = new SettingsListKey <int>("Test/Lists/IntList", Enumerable.Empty <int>()); DoubleList = new SettingsListKey <double>("Test/Lists/DoubleList", new[] { 2.0, 6.0, 9.0 }); StringList = new SettingsListKey <string>("Test/Lists/StringList", new[] { "String 1", "String 2", "String 3" }); Console.WriteLine(@"Static settings keys initialized (ListSettingsKeys)"); }
public static void Initialize() { IntList = new SettingsListKey<int>("Test/Lists/IntList", Enumerable.Empty<int>()); DoubleList = new SettingsListKey<double>("Test/Lists/DoubleList", new[] { 2.0, 6.0, 9.0 }); StringList = new SettingsListKey<string>("Test/Lists/StringList", new[] { "String 1", "String 2", "String 3" }); Console.WriteLine(@"Static settings keys initialized (ListSettingsKeys)"); }