/// <summary>Combines a code of style assets</summary> /// <param name="assets">Set of style assets</param> /// <param name="bundleVirtualPath">Virtual path of bundle</param> /// <param name="isDebugMode">Flag that web application is in debug mode</param> protected override IAsset Combine( IList <IAsset> assets, string bundleVirtualPath, bool isDebugMode) { StyleCombiner styleCombiner = new StyleCombiner(); styleCombiner.IsDebugMode = isDebugMode; styleCombiner.EnableTracing = this.EnableTracing; return(styleCombiner.Combine(assets, bundleVirtualPath)); }
/// <summary> /// Combines a code of style assets /// </summary> /// <param name="assets">Set of style assets</param> /// <param name="bundleVirtualPath">Virtual path of bundle</param> /// <param name="isDebugMode">Flag that web application is in debug mode</param> protected override IAsset Combine(IList <IAsset> assets, string bundleVirtualPath, bool isDebugMode) { var styleCombiner = new StyleCombiner { IsDebugMode = isDebugMode, EnableTracing = EnableTracing }; IAsset combinedAsset = styleCombiner.Combine(assets, bundleVirtualPath); return(combinedAsset); }
/// <summary> /// Combines a code of style assets /// </summary> /// <param name="assets">Set of style assets</param> /// <param name="bundleVirtualPath">Virtual path of bundle</param> /// <param name="isDebugMode">Flag that web application is in debug mode</param> protected override IAsset Combine(IList<IAsset> assets, string bundleVirtualPath, bool isDebugMode) { var styleCombiner = new StyleCombiner { IsDebugMode = isDebugMode, EnableTracing = EnableTracing }; IAsset combinedAsset = styleCombiner.Combine(assets, bundleVirtualPath); return combinedAsset; }