Ejemplo n.º 1
0
        private void Initialize(string virtualPath, BundleList prefixList, List <string> bundleList, BundleList suffixList, IBundleTransform trans = null)
        {
            this.isBaseList  = false;
            this.virtualPath = virtualPath;
            this.bundleFile  = new List <string>();

            if (prefixList != null)
            {
                this.bundleFile.AddRange(prefixList.BundleFile);
            }
            if (bundleList != null)
            {
                this.bundleFile.AddRange(bundleList);
            }
            if (suffixList != null)
            {
                this.bundleFile.AddRange(suffixList.BundleFile);
            }

            this.trans = trans;
        }
Ejemplo n.º 2
0
 public BundleList(string virtualPath, BundleList prefixList, List <string> bundleList, BundleList suffixList, IBundleTransform trans = null)
 {
     Initialize(virtualPath, prefixList, bundleList, suffixList, trans);
 }
Ejemplo n.º 3
0
 public BundleList(string virtualPath, BundleList prefixList, string[] bundleList, IBundleTransform trans = null)
 {
     Initialize(virtualPath, prefixList, bundleList.ToList(), null, trans);
 }