| ApplicationEvents Class |
Namespace: CMS.Base
public class ApplicationEvents
The ApplicationEvents type exposes the following members.
| Name | Description | |
|---|---|---|
| ApplicationEvents |
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
| Name | Description | |
|---|---|---|
| End |
Fires upon the application end. Fires only once during application life-time.
| |
| Error |
Fires upon the application error
| |
| Finalize |
Fires as the last action after the application end. Fires only once during application life-time.
| |
| GetVaryByCustomString |
Fires when vary by custom string for output cache is evaluated
| |
| Initialized |
Fires upon the application start. Fires only once during application life-time, needs to be attached in module PreInit or Init.
| |
| PostStart |
Fires at the end of first application request. Fires only once during application life-time, use to perform additional async tasks needed for application startup which do not influence the request output.
| |
| PreInitialized |
Fires after the application was pre-initialized. Fires only once during application life-time, needs to be attached in module PreInit.
| |
| SessionEnd |
Fires when the session ends
| |
| SessionStart |
Fires when the session starts
| |
| UpdateData |
Fires when the application performs upgrades to a newer version. Fires only once during application life-time, needs to be attached in module PreInit or Init.
|