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; }
public BundleList(string virtualPath, BundleList prefixList, List <string> bundleList, BundleList suffixList, IBundleTransform trans = null) { Initialize(virtualPath, prefixList, bundleList, suffixList, trans); }
public BundleList(string virtualPath, BundleList prefixList, string[] bundleList, IBundleTransform trans = null) { Initialize(virtualPath, prefixList, bundleList.ToList(), null, trans); }