public static System.Web.Optimization.Bundle WithCustomTransformation(this System.Web.Optimization.Bundle bundle, string applicationVersion, bool addOrderer)
 {
     bundle.Transforms.Clear();
     bundle.Transforms.Add(new VersionBundleTransform(applicationVersion));
     if (addOrderer)
     {
         bundle.Orderer = new CustomBundleOrderer();
     }
     return(bundle);
 }
 /// <summary>
 /// Create bundle instance
 /// </summary>
 /// <param name="bundle">Original bundle</param>
 internal Bundle(System.Web.Optimization.Bundle bundle)
 {
     this.__bundle = bundle;
 }
Beispiel #3
0
 /// <summary>
 /// Create bundle instance
 /// </summary>
 /// <param name="bundle">Original bundle</param>
 internal Bundle(System.Web.Optimization.Bundle bundle)
 {
     this.__bundle = bundle;
 }