AjaxControlToolkit.StaticResources.PreApplicationStartCode.CreateStyleBundle C# (CSharp) Method

CreateStyleBundle() static private method

static private CreateStyleBundle ( string bundleName ) : void
bundleName string
return void
        static void CreateStyleBundle(string bundleName)
        {
            if(String.IsNullOrWhiteSpace(bundleName))
                BundleTable.Bundles.Add(new StyleBundle("~/Content/AjaxControlToolkit/Styles/Bundle", Constants.CdnPrefix + "Content/AjaxControlToolkit/Styles/Bundle.css")
                    .Include(ToolkitResourceManager.GetStylePaths()));
            else
                BundleTable.Bundles.Add(new StyleBundle("~/Content/AjaxControlToolkit/Styles/" + bundleName + "Bundle")
                    .Include(ToolkitResourceManager.GetStylePaths(bundleName)));
        }