C# Class Sharpen.Server.Script.ScriptInliner

Afficher le fichier Open project: nikhilk/sharpen Class Usage Examples

Méthodes publiques

Méthode Description
CanInlineScript ( ScriptReference scriptReference ) : bool
GetScript ( ScriptReference scriptReference ) : string
ScriptInliner ( System.Web.HttpContextBase httpContext, string storageCookieName ) : System
SupportsLocalStorage ( HttpContextBase httpContext ) : bool

Private Methods

Méthode Description
InitializeStorageCookie ( string storageCookieName ) : void

Method Details

CanInlineScript() public méthode

public CanInlineScript ( ScriptReference scriptReference ) : bool
scriptReference ScriptReference
Résultat bool

GetScript() public méthode

public GetScript ( ScriptReference scriptReference ) : string
scriptReference ScriptReference
Résultat string

ScriptInliner() public méthode

public ScriptInliner ( System.Web.HttpContextBase httpContext, string storageCookieName ) : System
httpContext System.Web.HttpContextBase
storageCookieName string
Résultat System

SupportsLocalStorage() public static méthode

public static SupportsLocalStorage ( HttpContextBase httpContext ) : bool
httpContext HttpContextBase
Résultat bool