![]() |
Members | Description | ||
| PagePersister |
Construct a PagePersister for a given page.
|
|||
| PagePersister |
Construct a page persister for static fields of the given type.
|
|||
| Save |
Save instance fields to persistence medium
|
|||
| Restore |
Restore instance fields from persistence medium
|
|||
| SaveStatic |
Save static fields to persistence medium
|
|||
| RestoreStatic |
Restore static fields from persistence medium
|
|||
| RestoreStatic |
Restore persistent static fields for the given class (by type)
|
|||
| RestorePageStatics |
Search for all subclasses of System.Web.UI.Page and restore static fields
to each Page class.
|
|||
| SetPageField |
Prepare the application's dictionary so that the value of a page's static field
will be set to a particular value when its static fields are restored.
|
|||
| SetPageField |
Prepare the application's dictionary so that the value of a page's static field
will be set to a particular value when its static fields are restored.
|
|||
| SetPageField |
Set the persistent value of a persisted page field.
|
|||
| SetPageField |
Set the persistent value of a persisted page field.
|
|||
| Action |
Worker function for persistence: saves or loads static or instance field values.
|
|||
| PersistPage |
Perform page-level persistence for the newly-created or about-to-be-released page
|
|||
| SessionEnd |
Clean up any persisted field values from this session's state collection.
That is, call IDisposable.Dispose() on any objects that support it.
|
|||
| VarName |
Generate a string name to use as a key for a persistence data collection.
For Session data, the field key is "$persist$classTypeName$fieldName".
For Application data, the field key is "$persist$classTypeName$fieldName".
For Web Config data, the field key is "$persist$fieldName".
|
|||
| VarName |
Generate a string name to use as a key for a persistence data collection.
For Session data, the field key is "$persist$classTypeName$fieldName".
For Application data, the field key is "$persist$classTypeName$fieldName".
For Web Config data, the field key is "$persist$fieldName".
|
|||
| sPrefixDelimiter |
Delimiter character used between key name components
|
|||
| sPrefixSession |
String prefix to use for session fields (along with type and field name)
|
|||
| sPrefixApplication |
String prefix to use for session fields (along with type and field name)
|
|||
| sPrefixConfiguration |
String prefix to use for web.config fields (along with field name)
|
|||
| app |
The web application for this operation
|
|||
| page |
The page, if any, for this operation
|
|||
| type |
The type of page or object being operated on.
|
|||
| bindFlagsInstance |
The type information binding flags used for walking the instance fields.
|
|||
| bindFlagsStatic |
The type information binding flags used for walking the static fields
|
Implications of each combination of field type and storage medium are as follows.
Object field, Session storage: Allowed, save and restore. Object must inherit from System.Web.UI.Page.
Key is
Object field, Application storage: Allowed, save and restore. Object must inherit from System.Web.UI.Page.
Key is
Object field, Configuration storage: Allowed, but restore only.
Object must inherit from System.Web.UI.Page. Key is
Static field, Session storage: NOT ALLOWED.
Static field, Application storage: Allowed, save and restore. Key is
Static field, Configuration storage: Allowed, restore only. Key is