Design Pattern Framework 3.5
GlobalViewStateSingleton Class
Patterns-In-Action! Application ► ViewState ► GlobalViewStateSingleton
GlobalViewStateSingleton maintains a list of viewstates in a
globally accessible hashtable. This is a Singleton helper class to the
ViewStateProviderGlobal class.

C# | Visual Basic |
public class GlobalViewStateSingleton
Public Class GlobalViewStateSingleton

All Members | Methods | Properties | |||
|
|
|
Icon | Member | Description |
---|---|---|
![]() |
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.) |
![]() ![]() |
Instance |
Gets the one instance of the GlobalViewStateSingleton class
|
![]() |
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
ToString()()() | (Inherited from Object.) |
![]() |
ViewStates |
Gets a list of ViewStates.
|

Gof Design Pattern: Singleton.
The Singleton Design Pattern ensures that just one instance (the Singleton)
holds a reference to a list of all viewstate providers declared in the
configuration file (web.config).

Object | |
![]() |
GlobalViewStateSingleton |