Méthode | Description | |
---|---|---|
HtmlCssCached ( this urlHelper, string bundleName, bool forceState = null ) : HtmlString |
This returns the CSS links using caching if forceState is null Note: this assumes that the CSS minified file is in the directory "~/css/"
|
|
HtmlScriptsCached ( this urlHelper, string bundleName, bool forceState = null ) : HtmlString |
This returns the script includes for a specific group using caching if forceState is null Note: this assumes that the JavaScript minified file is in the directory "~/js/"
|
Méthode | Description | |
---|---|---|
CreateHtmlIncludes ( this urlHelper, string bundleName, CssOrJs cssOrJs, bool forceState = null ) : HtmlString |
This returns the html to include either CSS or JavaScript files
|
|
GetAbsDataDirectory ( ) : string |
This is equivalent to MVC5's AppDomain.CurrentDomain.GetData("DataDirectory").ToString() This gets the absolute path to the directory containing the B4B files
|
public static HtmlCssCached ( this urlHelper, string bundleName, bool forceState = null ) : HtmlString | ||
urlHelper | this | |
bundleName | string | The name of the setting.json property containing the list of Css file to include. /// defaults to main Css file |
forceState | bool | if not null then true forces into debug state and false forces production state |
Résultat | HtmlString |
public static HtmlScriptsCached ( this urlHelper, string bundleName, bool forceState = null ) : HtmlString | ||
urlHelper | this | |
bundleName | string | The name of the setting.json property containing the list of JavaScript file to include. /// defaults to main js file |
forceState | bool | if not null then true forces into debug state and false forces production state |
Résultat | HtmlString |