Design Pattern Framework 3.5
ViewStateProviderCache Class
Patterns-In-Action! Application ► ViewState ► ViewStateProviderCache
Viewstate provider that is implemented using a cache.
Declaration Syntax
C# | Visual Basic |
public class ViewStateProviderCache : ViewStateProviderBase
Public Class ViewStateProviderCache _ Inherits ViewStateProviderBase
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
ViewStateProviderCache()()() |
Initializes a new instance of the ViewStateProviderCache class
|
|
Description |
Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs).
(Inherited from ProviderBase.) |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
|
Initialize(String, NameValueCollection) |
Initializes the provider.
(Inherited from ProviderBase.) |
|
LoadPageState(String) |
Retrieves viewstate information for the web page from cache.
(Overrides ViewStateProviderBase.LoadPageState(String).) |
|
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
Name |
Gets the friendly name used to refer to the provider during configuration.
(Inherited from ProviderBase.) |
|
SavePageState(String, Object) |
Saves view state information for the web page in cache.
(Overrides ViewStateProviderBase.SavePageState(String, Object).) |
|
ToString()()() | (Inherited from Object.) |
Remarks
Gof Design Pattern: Strategy.
The Strategy Design Pattern ensures that this class is 'pluggable' and
can fully function as a viewstate provider.
Inheritance Hierarchy
Object | |||
ProviderBase | |||
ViewStateProviderBase | |||
ViewStateProviderCache |