示例#1
0
        /// <summary>
        /// Constructs a new <see cref="ContentFilterPipeline"/> that is used by default for javascript files.
        /// </summary>
        public static ContentFilterPipeline Javascript()
        {
            var pipeline = new ContentFilterPipeline();

            pipeline.Add(new JSMinFilter());

            return(pipeline);
        }
示例#2
0
        /// <summary>
        /// Constructs a new <see cref="ContentFilterPipeline"/> that is used by default for css files.
        /// </summary>
        public static ContentFilterPipeline Css()
        {
            var pipeline = new ContentFilterPipeline();

            pipeline.Add(new CssRelativePathFilter());

            return(pipeline);
        }