GlobalViewStateSingleton Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 GlobalViewStateSingleton Class
Patterns-In-Action! ApplicationViewStateGlobalViewStateSingleton
GlobalViewStateSingleton maintains a list of viewstates in a globally accessible hashtable. This is a Singleton helper class to the ViewStateProviderGlobal class.
Declaration Syntax
C# Visual Basic
public class GlobalViewStateSingleton
Public Class GlobalViewStateSingleton
Members
All Members Methods Properties



Icon Member Description
Equals(Object)
Determines whether the specified Object is equal to the current 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()()()
Returns a String that represents the current Object.
(Inherited from Object.)
ViewStates
Gets a list of ViewStates.

Remarks
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).
Inheritance Hierarchy
Object
GlobalViewStateSingleton

Assembly: ViewState (Module: ViewState) Version: 1.0.0.0 (1.0.0.0)