• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# BundleCollection类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中BundleCollection的典型用法代码示例。如果您正苦于以下问题:C# BundleCollection类的具体用法?C# BundleCollection怎么用?C# BundleCollection使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



BundleCollection类属于命名空间,在下文中一共展示了BundleCollection类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: RegisterBundles

        // Дополнительные сведения о Bundling см. по адресу http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
                        "~/Scripts/jquery-ui-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.unobtrusive*",
                        "~/Scripts/jquery.validate*"));

            // Используйте версию Modernizr для разработчиков, чтобы учиться работать. Когда вы будете готовы перейти к работе,
            // используйте средство построения на сайте http://modernizr.com, чтобы выбрать только нужные тесты.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"));

            bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
                        "~/Content/themes/base/jquery.ui.core.css",
                        "~/Content/themes/base/jquery.ui.resizable.css",
                        "~/Content/themes/base/jquery.ui.selectable.css",
                        "~/Content/themes/base/jquery.ui.accordion.css",
                        "~/Content/themes/base/jquery.ui.autocomplete.css",
                        "~/Content/themes/base/jquery.ui.button.css",
                        "~/Content/themes/base/jquery.ui.dialog.css",
                        "~/Content/themes/base/jquery.ui.slider.css",
                        "~/Content/themes/base/jquery.ui.tabs.css",
                        "~/Content/themes/base/jquery.ui.datepicker.css",
                        "~/Content/themes/base/jquery.ui.progressbar.css",
                        "~/Content/themes/base/jquery.ui.theme.css"));
        }
开发者ID:richard-s-popov,项目名称:zbagoistvie,代码行数:34,代码来源:BundleConfig.cs


示例2: RegisterBundles

        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js")
                        .Include("~/Scripts/jquery.unobtrusive-ajax.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.validate*"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap")
                .Include("~/Scripts/bootstrap.js",
                        "~/Scripts/respond.js",
                        "~/Scripts/bootstrap-datepicker.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap.css",
                      "~/Content/datepicker.css",
                      "~/Content/site.css"));

            bundles.Add(new ScriptBundle("~/liberty").Include(
                      "~/Scripts/liberty.js"));

            // Set EnableOptimizations to false for debugging. For more information,
            // visit http://go.microsoft.com/fwlink/?LinkId=301862
            BundleTable.EnableOptimizations = false;
        }
开发者ID:heyyouau,项目名称:libertyfinancial,代码行数:32,代码来源:BundleConfig.cs


示例3: RegisterBundles

        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkID=303951
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/WebFormsJs").Include(
                            "~/Scripts/WebForms/WebForms.js",
                            "~/Scripts/WebForms/WebUIValidation.js",
                            "~/Scripts/WebForms/MenuStandards.js",
                            "~/Scripts/WebForms/Focus.js",
                            "~/Scripts/WebForms/GridView.js",
                            "~/Scripts/WebForms/DetailsView.js",
                            "~/Scripts/WebForms/TreeView.js",
                            "~/Scripts/WebForms/WebParts.js"));

            // Order is very important for these files to work, they have explicit dependencies
            bundles.Add(new ScriptBundle("~/bundles/MsAjaxJs").Include(
                    "~/Scripts/WebForms/MsAjax/MicrosoftAjax.js",
                    "~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js",
                    "~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js",
                    "~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js"));

            // Use the Development version of Modernizr to develop with and learn from. Then, when you’re
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                            "~/Scripts/modernizr-*"));
            
            ScriptManager.ScriptResourceMapping.AddDefinition(
                "respond",
                new ScriptResourceDefinition
                {
                    Path = "~/Scripts/respond.min.js",
                    DebugPath = "~/Scripts/respond.js",
                });
        }
开发者ID:reinholtk24,项目名称:RoomReservationSystem,代码行数:33,代码来源:BundleConfig.cs


示例4: RegisterBundles

        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryajax").Include(
                        "~/Scripts/jquery.unobtrusive-ajax*"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Scripts/bootstrap.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap.css",
                      "~/Content/site.css",
                      "~/Content/bootstrap-responsive.css"));

            bundles.Add(new ScriptBundle("~/bundles/common").Include(
                "~/Scripts/common.js"
                ));
        }
开发者ID:Nagelfar,项目名称:FeatureController,代码行数:29,代码来源:BundleConfig.cs


示例5: BundleBootstrapMain

        private static void BundleBootstrapMain(BundleCollection bundleCollection)
        {
            //site base
            bundleCollection.Add(
                new StyleBundle("~/css/main")
                    .Include("~/Content/bootstrap/main/dist/css/bootstrap.*")
                );

            bundleCollection.Add(
                new ScriptBundle("~/js/main")
                    .Include("~/Content/script/jquery-{version}.js",
                    "~/Content/bootstrap/main/dist/js/bootstrap.*",
                    "~/Content/script/bootbox.js")
                );

            //bootstrap select
            bundleCollection.Add(new StyleBundle("~/bs_select_css").
                Include("~/Content/bootstrap/Select/dist/css/bootstrap-select.*"));

            bundleCollection.Add(new ScriptBundle("~/bs_select_js").
                Include("~/Content/bootstrap/Select/dist/js/bootstrap-select.*",
                        "~/Content/bootstrap/Select/dist/js/i18n/defaults-zh_CN.js"));

            //bootstrap table
            bundleCollection.Add(new StyleBundle("~/bs_table_css").Include("~/Content/bootstrap/table/dist/bootstrap-table.css"));
            bundleCollection.Add(new ScriptBundle("~/bs_table_js").Include("~/Content/bootstrap/table/dist/bootstrap-table.js",
                        "~/Content/bootstrap/table/dist/locale/bootstrap-table-zh-CN.js"));

            BundleTable.EnableOptimizations = true;
        }
开发者ID:kangwl,项目名称:BootstrapWeb,代码行数:30,代码来源:BundleConfig.cs


示例6: RegisterBundles

        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/validate")
                        .Include("~/Scripts/jquery.validate.min.js", "~/Scripts/jquery.validate.unobtrusive.min.js")
                        .Include("~/Scripts/highcharts.js"));
            /*
            <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
            <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

            */
            bundles.Add(new ScriptBundle("~/bundles/jqueryajax").Include(
                        "~/Scripts/jquery.unobtrusive-ajax*"));
            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Scripts/bootstrap.js",
                      "~/Scripts/respond.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap.css",
                      "~/Content/site.css"));
        }
开发者ID:IIITanbI,项目名称:EpamProjects,代码行数:29,代码来源:BundleConfig.cs


示例7: RegisterBundles

        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle(BasicScripts).Include(
                        "~/Scripts/jquery-{version}.js"
                                        ));

            bundles.Add(new ScriptBundle(BackOfficeScripts).Include(
                        "~/Scripts/jquery-{version}.js",
                        "~/Scripts/bootstrap.js",
                        "~/Scripts/date.js",
                        "~/Scripts/UI.js",
                        "~/Scripts/Requests.js",
                        "~/Scripts/Backoffice.js",
                        "~/Scripts/Layout.js",
                        "~/Content/Scrollbar/jquery.mousewheel.js",
                        "~/Content/Scrollbar/perfect-scrollbar.js",
                        "~/Scripts/UiControls/GroupSelection.js",
                        "~/Scripts/UiControls/MultiSelectWindow.js",
                        "~/Scripts/WebSite.js"

                                        ));

            bundles.Add(new StyleBundle(BackOfficeCss).Include(
                      "~/Content/bootstrap.css",
                      //"~/Content/bootstrap-theme.css",
                                    "~/Content/material-fullpalette.css",
                      "~/Content/Scrollbar/perfect-scrollbar.css",
                      "~/Content/site.css",
                      "~/Content/Other.css",
                      "~/Content/SideMenu.css",
                      "~/Content/monthpicker.css",
                      "~/Content/Countries.css"
                      ));



            bundles.Add(new ScriptBundle(MobileScripts).Include(
                        "~/Scripts/jquery-{version}.js",
                        "~/Scripts/bootstrap.js",
                          "~/Scripts/UiMobile.js",
                        "~/Scripts/Requests.js",
                        "~/Scripts/Backoffice.js",
                        "~/Scripts/Layout.js",
                        "~/Scripts/UiControls/GroupSelection.js",
                        "~/Scripts/UiControls/MultiSelectWindow.js",
                        "~/Scripts/WebSite.js"
                        ));


            bundles.Add(new StyleBundle(MobileCss).Include(
                "~/Content/bootstrap.css",

                "~/Content/material-fullpalette.css",
                "~/Content/mobile.css",
                "~/Content/Countries.css"
                ));



        }
开发者ID:LykkeCity,项目名称:MarketPlace,代码行数:61,代码来源:BundleConfig.cs


示例8: RegisterBundles

        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js",
                        "~/Scripts/jquery.unobtrusive-ajax.min.js")); // Dodaj AJAX unobtrusive.

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                "~/Scripts/jquery.validate*"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Scripts/bootstrap.js",
                      "~/Scripts/respond.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap.css",
                      "~/Content/LoadingAjax.css", // Dodaj AJAX css Loading.
                      "~/Content/ErrorDisplay.css", // Dodaj Error css.
                      "~/Content/sbAdmin2/font-awesome.css",
                      "~/Content/sbAdmin2/sb-admin-2.css"));

            bundles.Add(new ScriptBundle("~/bundles/sbAdmin2").Include(
                        "~/Scripts/sbAdmin2/metisMenu.js",
                        "~/Scripts/sbAdmin2/excanvas.min.js",
                        "~/Scripts/sbAdmin2/jquery.flot*",
                        "~/Scripts/sbAdmin2/sb-admin-2.js",
                        "~/Scripts/nScripts.js"));
        }
开发者ID:Iztoksson,项目名称:NirisMvcTemplate,代码行数:33,代码来源:BundleConfig.cs


示例9: RegisterBundles

        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.IgnoreList.Clear();
            AddDefaultIgnorePatterns(bundles.IgnoreList);

            bundles.Add(
              new ScriptBundle("~/scripts/vendor")
                .Include("~/scripts/jquery-{version}.js")
                .Include("~/scripts/knockout-{version}.debug.js")
                .Include("~/scripts/sammy-{version}.js")
                .Include("~/scripts/toastr.js")
                .Include("~/scripts/Q.js")
                .Include("~/scripts/breeze.debug.js")
                .Include("~/scripts/bootstrap.js")
                .Include("~/scripts/moment.js")
              );

            bundles.Add(
              new StyleBundle("~/Content/css")
                .Include("~/Content/ie10mobile.css")
                .Include("~/Content/bootstrap.css")
                .Include("~/Content/bootstrap-responsive.css")
                .Include("~/Content/durandal.css")
                .Include("~/Content/toastr.css")
                .Include("~/Content/app.css")
              );
        }
开发者ID:shubh0602,项目名称:Hot-Towel-Simple-Application,代码行数:27,代码来源:BundleConfig.cs


示例10: RegisterBundles

        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254726
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/WebFormsJs").Include(
                  "~/Scripts/WebForms/WebForms.js",
                  "~/Scripts/WebForms/WebUIValidation.js",
                  "~/Scripts/WebForms/MenuStandards.js",
                  "~/Scripts/WebForms/Focus.js",
                  "~/Scripts/WebForms/GridView.js",
                  "~/Scripts/WebForms/DetailsView.js",
                  "~/Scripts/WebForms/TreeView.js",
                  "~/Scripts/WebForms/WebParts.js"));

            bundles.Add(new ScriptBundle("~/bundles/knockout").Include(
                  "~/Scripts/knockout-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/MsAjaxJs").Include(
                "~/Scripts/WebForms/MsAjax/MicrosoftAjax.js",
                "~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js",
                "~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js",
                "~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js"));

            // Use the Development version of Modernizr to develop with and learn from. Then, when you’re
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                "~/Scripts/modernizr-*"));
        }
开发者ID:schweeneh,项目名称:knockout-test,代码行数:27,代码来源:BundleConfig.cs


示例11: RegisterBundles

        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.unobtrusive*",
                        "~/Scripts/jquery.validate*"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                "~/Content/site.css"));

            bundles.Add(new ScriptBundle("~/bundles/app").Include(
                "~/Scripts/App/kendo-custom-bindings.js",
                "~/Scripts/App/kendo-cart-menu-widget.js",
                "~/Scripts/App/config.js",
                "~/Scripts/App/cart.js",
                "~/Scripts/App/store.js",
                "~/Scripts/App/shared-layout.js"));

            bundles.Add(new ScriptBundle("~/bundles/libs").Include(
                "~/Scripts/date.js"));
        }
开发者ID:pumaatlarge,项目名称:BookStore,代码行数:29,代码来源:BundleConfig.cs


示例12: RegisterBundles

        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
            "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
                        "~/Scripts/jquery-ui-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.unobtrusive*",
                        "~/Scripts/jquery.validate*"));


            bundles.Add(new ScriptBundle("~/bundles/noty").Include(
                "~/Scripts/noty/jquery.noty.js",
                "~/Scripts/noty/layouts/topLeft.js",
                "~/Scripts/noty/themes/relax.js"));

            bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
                        "~/Content/themes/base/core.css",
                        "~/Content/themes/base/resizable.css",
                        "~/Content/themes/base/selectable.css",
                        "~/Content/themes/base/accordion.css",
                        "~/Content/themes/base/autocomplete.css",
                        "~/Content/themes/base/button.css",
                        "~/Content/themes/base/dialog.css",
                        "~/Content/themes/base/slider.css",
                        "~/Content/themes/base/tabs.css",
                        "~/Content/themes/base/datepicker.css",
                        "~/Content/themes/base/progressbar.css",
                        "~/Content/themes/base/theme.css"));
        }
开发者ID:dubodel-alexey,项目名称:Lab.Net.Dubodel.Task1,代码行数:32,代码来源:BundleConfig.cs


示例13: RegisterBundles

        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/Vendor/jquery-{version}.js",
                        "~/Scripts/Vendor/toastr.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/Vendor/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/Vendor/modernizr-*"));

            //Angular Bundle

            bundles.Add(new ScriptBundle("~/bundles/angularJs").Include(
                      "~/Scripts/Vendor/Angular/angular.js",
                      "~/Scripts/Vendor/Angular/angular-mocks.js",
                      "~/Scripts/Vendor/Angular/angular-animate.js",
                      "~/Scripts/Vendor/Angular/angular-route.js",
                      "~/Scripts/Vendor/Angular/angular-sanitize.js",
                      "~/Scripts/Vendor/Angular/angular-datepicker.min.js"));

            bundles.Add(new ScriptBundle("~/bundles/app").Include(
                       "~/Scripts/App/app.js",
                       "~/Scripts/App/controllers/shellController.js",
                       "~/Scripts/App/services/songsService.js",
                       "~/Scripts/App/services/playlistsService.js",
                       "~/Scripts/App/services/authorsService.js",
                       "~/Scripts/App/controllers/masterController.js",
                       "~/Scripts/App/controllers/playlistDetailsController.js"));
        }
开发者ID:gboduljak,项目名称:soundy,代码行数:31,代码来源:BundleConfig.cs


示例14: RegisterBundles

        // 如需「搭配」的詳細資訊,請瀏覽 http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.validate*"));

            // 使用開發版本的 Modernizr 進行開發並學習。然後,當您
            // 準備好實際執行時,請使用 http://modernizr.com 上的建置工具,只選擇您需要的測試。
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Scripts/bootstrap.js",
                      "~/Scripts/respond.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap.css",
                      "~/Content/site.css"));

            // 將 EnableOptimizations 設為 false 以進行偵錯。如需詳細資訊,
            // 請造訪 http://go.microsoft.com/fwlink/?LinkId=301862
            BundleTable.EnableOptimizations = true;
        }
开发者ID:kimx,项目名称:MvcExceptionHandleLab,代码行数:26,代码来源:BundleConfig.cs


示例15: RegisterBundles

        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
                        "~/Scripts/jquery-ui-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.unobtrusive*",
                        "~/Scripts/jquery.validate*"));

            

            bundles.Add(new StyleBundle("~/Content/css")
                .Include("~/Content/main_style.css",
                "~/Content/design.css"));

            bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
                        "~/Content/themes/base/jquery.ui.core.css",
                        "~/Content/themes/base/jquery.ui.resizable.css",
                        "~/Content/themes/base/jquery.ui.selectable.css",
                        "~/Content/themes/base/jquery.ui.accordion.css",
                        "~/Content/themes/base/jquery.ui.autocomplete.css",
                        "~/Content/themes/base/jquery.ui.button.css",
                        "~/Content/themes/base/jquery.ui.dialog.css",
                        "~/Content/themes/base/jquery.ui.slider.css",
                        "~/Content/themes/base/jquery.ui.tabs.css",
                        "~/Content/themes/base/jquery.ui.datepicker.css",
                        "~/Content/themes/base/jquery.ui.progressbar.css",
                        "~/Content/themes/base/jquery.ui.theme.css"));
        }
开发者ID:monstrU,项目名称:GuestBookMVC,代码行数:33,代码来源:BundleConfig.cs


示例16: RegisterScripts

        private static void RegisterScripts(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery")
                .Include(
                    "~/Scripts/KendoUI/jquery.min.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval")
                .Include("~/Scripts/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/bundles/kendo")
                .Include(
                    "~/Scripts/KendoUI/kendo.all.min.js",
                    "~/Scripts/KendoUI/kendo.aspnetmvc.min.js"));

            bundles.Add(new ScriptBundle("~/bundles/tools")
                .Include(
                "~/Scripts/bootstrap.js",
                "~/Scripts/jquery.fancybox.js",
                "~/Scripts/toastr.js"));

            bundles.Add(new ScriptBundle("~/bundles/appJs")
                .Include(
                "~/Scripts/App/EntertainmentSystemApp.js",
                "~/Scripts/App/EntertainmentSystem-media.js"));
        }
开发者ID:Borayvor,项目名称:ASP.NET-MVC-CourseProject,代码行数:25,代码来源:BundleConfig.cs


示例17: RegisterBundles

        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jquery-ui").Include(
                        "~/Scripts/jquery-ui-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval-pl").Include(
                        "~/Scripts/localization/messages_pl.js"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Scripts/bootstrap.js",
                      "~/Scripts/respond.js"));

            bundles.Add(new StyleBundle("~/Content/css/css2").Include(
                      "~/Content/bootstrap.css",
                      "~/Content/css/style.css"));

#if DEBUG
#else
            BundleTable.EnableOptimizations = true;
#endif
        }
开发者ID:progala2,项目名称:Conference-Toastmasters,代码行数:33,代码来源:BundleConfig.cs


示例18: RegisterBundles

        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                "~/Scripts/jquery.unobtrusive*",
                "~/Scripts/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/bundles/knockout").Include(
                "~/Scripts/knockout-{version}.js",
                "~/Scripts/knockout.validation.js"));

            bundles.Add(new ScriptBundle("~/bundles/app").Include(
                "~/Scripts/sammy-{version}.js",
                "~/Scripts/app/common.js",
                "~/Scripts/app/app.datamodel.js",
                "~/Scripts/app/app.viewmodel.js",
                "~/Scripts/app/home.viewmodel.js",
                "~/Scripts/app/_run.js"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                "~/Scripts/bootstrap.js",
                "~/Scripts/respond.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                 "~/Content/bootstrap.css",
                 "~/Content/Site.css"));
        }
开发者ID:MathManiac,项目名称:Udvikling-til-mathmaniac,代码行数:35,代码来源:BundleConfig.cs


示例19: RegisterBundles

        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Scripts/bootstrap.js",
                      "~/Scripts/respond.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap.css",
                      "~/Content/site.css"));

            bundles.Add(new ScriptBundle("~/bundles/angular").Include(
                      "~/Scripts/angular.js",
                      "~/Scripts/angular-route.js",
                      "~/app/app.js",
                      "~/app/services.js",
                      "~/app/controllers.js"));
        }
开发者ID:heroictugboat,项目名称:CoderCamps,代码行数:26,代码来源:BundleConfig.cs


示例20: RegisterBundles

        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {

			// Add or remove this line for the bundeling feature
            BackloadBundles.RegisterBundles(bundles);
			
		}
开发者ID:rj-max,项目名称:Backload,代码行数:8,代码来源:BundleConfig.cs



注:本文中的BundleCollection类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# BundleContext类代码示例发布时间:2022-05-24
下一篇:
C# Bundle类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap