Méthode | Description | |
---|---|---|
BundlerForBower ( string jsonDataDir, string>.Func |
This creates the class ready for bundling
|
|
CalculateHtmlIncludes ( string bundleName, CssOrJs cssOrJs, bool inDevelopment, string>.Func |
This returns the appropriate html string to include in the web page such that the requested bundle will be loaded.
|
|
FormStaticFileWithCacheBuster ( string absFileUrl, string cacheBusterValue ) : string |
This returns a file reference with a cachebuster value added.
|
Méthode | Description | |
---|---|---|
FormCdnIncludes ( IEnumerable |
||
FormSingleMinifiedFileInclude ( string bundleName, CssOrJs cssOrJs, |
public BundlerForBower ( string jsonDataDir, string>.Func |
||
jsonDataDir | string | The absolute directory path to the folder that holds the BowerBundles.json and the /// optional BundlerForBower.json config file |
getAbsPathFromVirtualPath | string>.Func | This is a function which given a path relative to the MVC project /// will return the absolute path. In MVC5 this is provided by System.Web.Hosting.HostingEnvironment.MapPath. |
getChecksumFromRelPath | string>.Func | This is a function returns a checksum of a file referred to via an relative path /// Can be null, in which case no checksum can be used. |
Résultat | System |
public CalculateHtmlIncludes ( string bundleName, CssOrJs cssOrJs, bool inDevelopment, string>.Func |
||
bundleName | string | |
cssOrJs | CssOrJs | |
inDevelopment | bool | This controls whether we supply individual files or development mode /// or single minified files/CDNs in non-development mode |
getContentUrl | string>.Func | method to get url of content |
Résultat | string |
public FormStaticFileWithCacheBuster ( string absFileUrl, string cacheBusterValue ) : string | ||
absFileUrl | string | |
cacheBusterValue | string | |
Résultat | string |