Telerik.Web.Mvc.SharedWebAssets.LoadFromConfiguration C# (CSharp) Method

LoadFromConfiguration() private static method

private static LoadFromConfiguration ( IConfigurationManager configurationManager ) : void
configurationManager IConfigurationManager
return void
        private static void LoadFromConfiguration(IConfigurationManager configurationManager)
        {
            WebAssetConfigurationSection section = configurationManager.GetSection<WebAssetConfigurationSection>(WebAssetConfigurationSection.SectionName);

            if (section != null)
            {
                LoadGroups(section.StyleSheets, styleSheets, WebAssetDefaultSettings.StyleSheetFilesPath, WebAssetDefaultSettings.Version);
                LoadGroups(section.Scripts, scripts, WebAssetDefaultSettings.ScriptFilesPath, WebAssetDefaultSettings.Version);
            }
        }