C# Class Glimpse.Net.Extentions

Mostra file Open project: avanderhoorn/Glimpse

Public Methods

Method 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

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

Method Details

GetClientName() public static method

public static GetClientName ( this application ) : string
application this
return string

GetGlimpseMode() public static method

public static GetGlimpseMode ( this application ) : GlimpseMode
application this
return GlimpseMode

IsAjax() public static method

public static IsAjax ( this application ) : bool
application this
return bool

IsGlimpseRequest() public static method

public static IsGlimpseRequest ( this application ) : bool
application this
return bool

IsValidRequest() public static method

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
return bool

IsValidRequest() public static method

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
return bool

SetData() public static method

public static SetData ( this application, object>.IDictionary data ) : void
application this
data object>.IDictionary
return void

TryGetData() public static method

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