C# Class RockWeb.Blocks.Administration.SystemInfo

Inheritance: Rock.Web.UI.RockBlock
Mostra file Open project: SparkDevNetwork/Rock

Protected Methods

Method Description
OnInit ( EventArgs e ) : void
OnPreRender ( EventArgs e ) : void
btnClearCache_Click ( object sender, EventArgs e ) : void

Used to manually flush the attribute cache.

btnDumpDiagnostics_Click ( object sender, EventArgs e ) : void

Creates a text version (mostly) of the Diagnostics data that is sent via the HttpResponse to the client.

btnRestart_Click ( object sender, EventArgs e ) : void

Private Methods

Method Description
GetCacheInfo ( ) : string
GetDbInfo ( ) : string
GetLastMigrationData ( ) : string

Queries the MigrationHistory and the PluginMigration tables and returns the name (MigrationId) of the last core migration that was run and a table listing the last plugin assembly's migration name and number that was run.

GetRoutesInfo ( ) : string
ResponseWrite ( string key, string value, HttpResponse response ) : void
RestartWebApplication ( ) : bool

Method Details

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OnPreRender() protected method

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void

btnClearCache_Click() protected method

Used to manually flush the attribute cache.
protected btnClearCache_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnDumpDiagnostics_Click() protected method

Creates a text version (mostly) of the Diagnostics data that is sent via the HttpResponse to the client.
protected btnDumpDiagnostics_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnRestart_Click() protected method

protected btnRestart_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void