public ILightArrayConfig LoadConfig() { Util.LogInfo("Starting to parse light definitions..."); var stopwatch = Stopwatch.StartNew(); var defaultConfig = new DefaultLightArrayConfig(); defaultConfig.LoadConfig(); LightConfig = defaultConfig; Util.LogInfo(string.Format("Finished parsing definitions. Found {0} light groups with a total of {1} light arrays in a time of {2}.", LightConfig.LightArrayGroups.Count(), LightConfig.LightArrayGroups.Sum(group => group.LightArrays.Count()), stopwatch.Elapsed)); OnParsingFinished(); return(LightConfig); }
public ILightArrayConfig LoadConfig() { Util.LogInfo("Starting to parse light definitions..."); var stopwatch = Stopwatch.StartNew(); var defaultConfig = new DefaultLightArrayConfig(); defaultConfig.LoadConfig(); LightConfig = defaultConfig; Util.LogInfo(string.Format("Finished parsing definitions. Found {0} light groups with a total of {1} light arrays in a time of {2}.", LightConfig.LightArrayGroups.Count(), LightConfig.LightArrayGroups.Sum(group => group.LightArrays.Count()), stopwatch.Elapsed)); OnParsingFinished(); return LightConfig; }