Method | Description | |
---|---|---|
CheckAllBundlesAreValid ( ) : ReadOnlyCollection |
This checks all the bundles in the bundle file are valid
|
|
CheckBundleFileIsNotNewerThanMinifiedFiles ( ) : string |
This checks that the minified files for each bundle is older than the BowerBundles.json file that defines what is in a bundle.
|
|
CheckBundles ( |
This will setup checks the BundlesForBower in the assembly that the given type is in. It uses the data directory to find the BowerBundles.json and the bundlerForBower.json user config file
|
|
CheckBundles ( string mvcAppPath, string appDataDir = null, bool checkForConcatFile = true ) : System |
This requires the path to the directory of the project where all the files are stored It uses the data directory to find the BowerBundles.json and the bundlerForBower.json user config file
|
|
CheckSingleBundleIsValid ( string bundleName ) : ReadOnlyCollection |
Thic checks a specific bundle by name
|
Method | Description | |
---|---|---|
AddErrorIfAnyFilesInBadFiles ( string bundleName, IList |
||
CheckCdnBundle ( string bundleName, ICollection |
||
CheckNonCdnBundle ( string bundleName, IEnumerable |
||
GetProjectDirectoryFromType ( |
public CheckAllBundlesAreValid ( ) : ReadOnlyCollection |
||
return | ReadOnlyCollection |
public CheckBundleFileIsNotNewerThanMinifiedFiles ( ) : string | ||
return | string |
public CheckBundles ( |
||
classToFindProjectDirOf | ||
appDataDir | string | optional: if App_Data directory is not at the top level then you need to supply /// AppDomain.CurrentDomain.GetData("DataDirectory").ToString() or an equivalent absolute directory path |
checkForConcatFile | bool | optional: by default it checks the concat file, /// but if you go straight to the minified file then set this to false |
return | System |
public CheckBundles ( string mvcAppPath, string appDataDir = null, bool checkForConcatFile = true ) : System | ||
mvcAppPath | string | The absolute path to the project you want to test. |
appDataDir | string | optional: if App_Data directory is not at the top level then you need to supply /// AppDomain.CurrentDomain.GetData("DataDirectory").ToString() or an equivalent absolute directory path |
checkForConcatFile | bool | optional: by default it checks the concat file, /// but if you go straight to the minified file then set this to false |
return | System |
public CheckSingleBundleIsValid ( string bundleName ) : ReadOnlyCollection |
||
bundleName | string | |
return | ReadOnlyCollection |