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