C# Class Glimpse.Net.Extentions

Afficher le fichier Open project: avanderhoorn/Glimpse

Méthodes publiques

Méthode Description
GetClientName ( this application ) : string
GetGlimpseMode ( this application ) : GlimpseMode
IsAjax ( this application ) : bool
IsGlimpseRequest ( this application ) : bool
IsValidRequest ( this application, Glimpse.Net.Configuration.GlimpseConfiguration config, bool checkContentType, bool checkMode = true, bool checkPath = true ) : bool
IsValidRequest ( this obj, System.Web.HttpApplication &application, Glimpse.Net.Configuration.GlimpseConfiguration config, bool checkContentType, bool checkMode = true, bool checkPath = true ) : bool
SetData ( this application, object>.IDictionary data ) : void
TryGetData ( this application, object>.IDictionary &data ) : bool

Private Methods

Méthode Description
IsValidRequestInternal ( System.Web.HttpApplication application, Glimpse.Net.Configuration.GlimpseConfiguration config, bool checkContentType, bool checkMode, bool checkPath = true ) : bool

Method Details

GetClientName() public static méthode

public static GetClientName ( this application ) : string
application this
Résultat string

GetGlimpseMode() public static méthode

public static GetGlimpseMode ( this application ) : GlimpseMode
application this
Résultat GlimpseMode

IsAjax() public static méthode

public static IsAjax ( this application ) : bool
application this
Résultat bool

IsGlimpseRequest() public static méthode

public static IsGlimpseRequest ( this application ) : bool
application this
Résultat bool

IsValidRequest() public static méthode

public static IsValidRequest ( this application, Glimpse.Net.Configuration.GlimpseConfiguration config, bool checkContentType, bool checkMode = true, bool checkPath = true ) : bool
application this
config Glimpse.Net.Configuration.GlimpseConfiguration
checkContentType bool
checkMode bool
checkPath bool
Résultat bool

IsValidRequest() public static méthode

public static IsValidRequest ( this obj, System.Web.HttpApplication &application, Glimpse.Net.Configuration.GlimpseConfiguration config, bool checkContentType, bool checkMode = true, bool checkPath = true ) : bool
obj this
application System.Web.HttpApplication
config Glimpse.Net.Configuration.GlimpseConfiguration
checkContentType bool
checkMode bool
checkPath bool
Résultat bool

SetData() public static méthode

public static SetData ( this application, object>.IDictionary data ) : void
application this
data object>.IDictionary
Résultat void

TryGetData() public static méthode

public static TryGetData ( this application, object>.IDictionary &data ) : bool
application this
data object>.IDictionary
Résultat bool