C# Class Framework.Mvc.Extensions.ResourcesScriptManager

Extensions for working with javascript.
Afficher le fichier Open project: coreframework/Core-Framework

Méthodes publiques

Свойство Type Description
ScriptManagerKey String

Méthodes publiques

Méthode 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 méthode

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

IncludeScriptsFromStorage() public static méthode

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

RegisterScript() public static méthode

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

Property Details

ScriptManagerKey public_oe static_oe property

Script manager key.
public static String ScriptManagerKey
Résultat String