StatLight.Core.Configuration.StatLightConfigurationFactory.GetConfigurations C# (CSharp) Method

GetConfigurations() public method

public GetConfigurations ( ) : IEnumerable
return IEnumerable
        public IEnumerable<StatLightConfiguration> GetConfigurations()
        {
            foreach (var xapPath in _options.XapPaths)
            {
                _logger.Debug("Starting configuration for: {0}".FormatWith(xapPath));
                yield return GetStatLightConfigurationForXap(xapPath);
            }

            foreach (var dllPath in _options.DllPaths)
            {
                _logger.Debug("Starting configuration for: {0}".FormatWith(dllPath));
                yield return GetStatLightConfigurationForDll(dllPath);
            }
        }