C# Class Framework.Mvc.Extensions.ResourcesScriptManager

Extensions for working with javascript.
显示文件 Open project: coreframework/Core-Framework

Public Properties

Property Type Description
ScriptManagerKey String

Public Methods

Method Description
GetJsResourcesStorage ( System.Web.Mvc.ViewContext context ) : HashSet

Gets the js resources storage.

IncludeScriptsFromStorage ( this html ) : String

Includes the scripts from storage.

RegisterScript ( this html, String path ) : String

Includes the script path to collection.

Method Details

GetJsResourcesStorage() public static method

Gets the js resources storage.
public static GetJsResourcesStorage ( System.Web.Mvc.ViewContext context ) : HashSet
context System.Web.Mvc.ViewContext The context.
return HashSet

IncludeScriptsFromStorage() public static method

Includes the scripts from storage.
public static IncludeScriptsFromStorage ( this html ) : String
html this The HTML helper.
return String

RegisterScript() public static method

Includes the script path to collection.
public static RegisterScript ( this html, String path ) : String
html this The HTML helper.
path String The script path.
return String

Property Details

ScriptManagerKey public_oe static_oe property

Script manager key.
public static String ScriptManagerKey
return String